Skip to content

Commit eb5a59d

Browse files
committed
Exception isn't array-based
1 parent 5caedc1 commit eb5a59d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forth/forth.pir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ undefined:
121121
$S0 = token
122122
$S0 = "undefined symbol: " . $S0
123123
$P0 = new 'Exception'
124-
$P0[0] = $S0
124+
$P0['message'] = $S0
125125
throw $P0
126126

127127
numeric:

0 commit comments

Comments
 (0)