mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-23 19:51:47 +00:00
Emit an error when declaring a nullable basic type (for now)
This commit is contained in:
2
tests/compiler/basic-nullable.ts
Normal file
2
tests/compiler/basic-nullable.ts
Normal file
@ -0,0 +1,2 @@
|
||||
var a: i32 | null;
|
||||
// Expect error: AS204
|
Reference in New Issue
Block a user