mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-21 23:29:38 +00:00
docs: add more on compiler limitations, fix #3023
Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
parent
f0ae14e4db
commit
d8cf424e0a
1 changed files with 7 additions and 0 deletions
|
@ -33,6 +33,13 @@ a dialect of Go rather than a complete port of the language:
|
||||||
it's up to the programmer whether assert can be performed successfully.
|
it's up to the programmer whether assert can be performed successfully.
|
||||||
* type aliases including the built-in `any` alias are supported.
|
* type aliases including the built-in `any` alias are supported.
|
||||||
* generics are not supported, but eventually will be (at least, partially), ref. https://github.com/nspcc-dev/neo-go/issues/2376.
|
* generics are not supported, but eventually will be (at least, partially), ref. https://github.com/nspcc-dev/neo-go/issues/2376.
|
||||||
|
* `~` token is not supported
|
||||||
|
* `comparable` is not supported
|
||||||
|
* arrays (`[4]byte`) are not supported (https://github.com/nspcc-dev/neo-go/issues/3524)
|
||||||
|
* `min()` and `max()` are not supported (https://github.com/nspcc-dev/neo-go/issues/3090)
|
||||||
|
* `clear()` is not supported (https://github.com/nspcc-dev/neo-go/issues/3091)
|
||||||
|
* ranging over integers in `for` is not supported (https://github.com/nspcc-dev/neo-go/issues/3525)
|
||||||
|
* `for` loop variables are treated in pre-Go 1.22 way: a single instance is created for the whole loop
|
||||||
|
|
||||||
## VM API (interop layer)
|
## VM API (interop layer)
|
||||||
Compiler translates interop function calls into Neo VM syscalls or (for custom
|
Compiler translates interop function calls into Neo VM syscalls or (for custom
|
||||||
|
|
Loading…
Reference in a new issue