make sure null won't get assigned a value
This commit is contained in:
parent
77d26c47cf
commit
33352ad163
1 changed files with 3 additions and 1 deletions
4
std.spl
4
std.spl
|
@ -1,6 +1,8 @@
|
||||||
|
|
||||||
def null
|
def null
|
||||||
|
func =null { | pop
|
||||||
|
"`null` must not be assigned a value!" panic
|
||||||
|
}
|
||||||
|
|
||||||
def program-name
|
def program-name
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue