neo-go/pkg/compiler
Evgenii Stratonikov 9d6b0ee4a8 compiler: disallow comparing slices with nil
NEO VM does not distinguish between empty and nil slices. Supporting
this is not easy and requires changing lots of other opcodes.
Pointers are not supported anyway and slices can be checked for
emptiness by inspecting their `len`.
2020-06-11 17:40:02 +03:00
..
testdata *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
analysis.go compiler: set default values for complex struct fields 2020-06-11 17:40:02 +03:00
assign_test.go compiler: calculate stack size more precisely 2020-04-01 17:36:19 +03:00
binary_expr_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
byte_conversion_test.go compiler: allow to convert string constants to []byte 2020-01-27 15:29:52 +03:00
codegen.go compiler: disallow comparing slices with nil 2020-06-11 17:40:02 +03:00
codegen_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
compiler.go compiler: add ability to generate .abi.json file 2020-05-04 08:31:14 +03:00
compiler_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
constant_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
debug.go compiler: set default values for complex struct fields 2020-06-11 17:40:02 +03:00
debug_test.go compiler: add ability to generate .abi.json file 2020-05-04 08:31:14 +03:00
for_test.go compiler: allow for loops with empty condition 2020-03-26 15:00:14 +03:00
func_scope.go compiler: support named returns 2020-05-06 18:15:52 +03:00
function_call_test.go Merge pull request #935 from nspcc-dev/fix/slice 2020-05-06 18:30:01 +03:00
if_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
import_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
interop_test.go compiler: implement Remove builtin 2020-06-08 12:05:44 +03:00
limit_test.go compiler: emit integers correctly 2020-01-28 16:39:19 +03:00
map_test.go compiler: allow usage of string literals in index expressions 2020-01-23 17:28:35 +03:00
numeric_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
panic_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
return_test.go compiler: support named returns 2020-05-06 18:15:52 +03:00
slice_test.go compiler: disallow comparing slices with nil 2020-06-11 17:40:02 +03:00
struct_test.go compiler: set default values for complex struct fields 2020-06-11 17:40:02 +03:00
switch_test.go compiler: implement fallthrough in switch 2020-03-10 12:34:07 +03:00
syscall.go compiler: restore support for GetUnspentCoins 2020-05-22 13:24:44 +03:00
syscall_test.go compiler: make Notify accept varargs 2020-04-06 09:31:09 +03:00
type_test.go compiler: move tests from vm/tests 2019-12-23 17:05:34 +03:00
util_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
verify_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
vm_test.go compiler: make Notify accept varargs 2020-04-06 09:31:09 +03:00