mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 17:31:29 +00:00
Fix some array function parsing and serialization issues
Quite similar to #256 and also uses its test, but also fixes the serializer and doesn't try to parse an untyped 'x => x'.
This commit is contained in:
@ -117,7 +117,8 @@ export function nodeIsCallable(kind: NodeKind): bool {
|
||||
case NodeKind.IDENTIFIER:
|
||||
case NodeKind.CALL:
|
||||
case NodeKind.ELEMENTACCESS:
|
||||
case NodeKind.PROPERTYACCESS: return true;
|
||||
case NodeKind.PROPERTYACCESS:
|
||||
case NodeKind.PARENTHESIZED: return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user