mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-01 07:31:53 +00:00
Implement non-null assertions (#443)
This commit is contained in:
8
tests/parser/nonNullAssertion.ts
Normal file
8
tests/parser/nonNullAssertion.ts
Normal file
@ -0,0 +1,8 @@
|
||||
foo!;
|
||||
foo!!;
|
||||
foo!.bar;
|
||||
foo.bar!;
|
||||
foo![0];
|
||||
foo[0]!;
|
||||
foo![0]!.bar!;
|
||||
foo!![0]!!.bar!!;
|
Reference in New Issue
Block a user