forked from TrueCloudLab/neoneo-go
23cfebf621
* implemented add, mul, div, sub assign for identifiers. * Implemented struct field initialization. * Implemented imports * Implemented storage VM API (interop layer) + additional bug fixes when encountered. * Bumped version 0.12.0 * fixed double point extension on compiled output file. * Fixed bug where callExpr in returns where added to voidCall * fixed binExpr compare equal * Check the env for the gopath first * removed travis.yml * custom types + implemented general declarations. * commented out the storage test to make the build pass
15 lines
201 B
Go
15 lines
201 B
Go
package compiler
|
|
|
|
var boolTestCases = []testCase{
|
|
{
|
|
"bool assign",
|
|
`
|
|
package foo
|
|
func Main() bool {
|
|
x := true
|
|
return x
|
|
}
|
|
`,
|
|
"52c56b516c766b00527ac46203006c766b00c3616c7566",
|
|
},
|
|
}
|