mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 14:18:42 +01:00
wren: Remove a magic number in the compiler. (#757)
This commit is contained in:
@ -2088,7 +2088,7 @@ static void field(Compiler* compiler, bool canAssign)
|
||||
{
|
||||
// Initialize it with a fake value so we can keep parsing and minimize the
|
||||
// number of cascaded errors.
|
||||
int field = 255;
|
||||
int field = MAX_FIELDS;
|
||||
|
||||
ClassInfo* enclosingClass = getEnclosingClass(compiler);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user