forked from GitHub/gf-core
Remove CStr [] which causes error, update gold
This commit is contained in:
@@ -5,7 +5,7 @@ cat CStr String ;
|
||||
CFloat Float ;
|
||||
|
||||
data empty : CStr "" ;
|
||||
null : CStr [] ;
|
||||
-- null : CStr [] ; -- Commented out by IL 06/2021: causes parse error
|
||||
other : CStr "other" ;
|
||||
|
||||
data zero : CInt 0 ;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
i -src testsuite/compiler/typecheck/abstract/LitAbs.gf
|
||||
ai null
|
||||
ai empty
|
||||
ai other
|
||||
ai zero
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
data null : CStr ""
|
||||
|
||||
data empty : CStr ""
|
||||
|
||||
data other : CStr "other"
|
||||
data empty : CStr "" ;
|
||||
Probability: 0.5
|
||||
|
||||
data other : CStr "other" ;
|
||||
Probability: 0.5
|
||||
|
||||
data zero : CInt 0 ;
|
||||
Probability: 1.0
|
||||
|
||||
data pi : CFloat 3.14 ;
|
||||
Probability: 1.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user