Global initialization checks name conflict
Initialization "global a = 10" raises an error if global 'a' is already defined, that is, it has a non-nil value.
This commit is contained in:
@@ -107,6 +107,7 @@ static const void *const disptab[NUM_OPCODES] = {
|
||||
&&L_OP_CLOSURE,
|
||||
&&L_OP_VARARG,
|
||||
&&L_OP_GETVARG,
|
||||
&&L_OP_ERRNNIL,
|
||||
&&L_OP_VARARGPREP,
|
||||
&&L_OP_EXTRAARG
|
||||
|
||||
|
||||
Reference in New Issue
Block a user