From 33352ad16334a690dfd7cdafd201b843911e913e Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sat, 8 Apr 2023 20:24:07 +0200 Subject: [PATCH] make sure null won't get assigned a value --- std.spl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/std.spl b/std.spl index e61fa49..6113350 100644 --- a/std.spl +++ b/std.spl @@ -1,6 +1,8 @@ def null - +func =null { | pop + "`null` must not be assigned a value!" panic +} def program-name