ID:2580022
 
Resolved
In some complex projects, a weird error message could appear about exceeding the old 64K limit maximum number of internal arrays, even though that limit has been long gone and the projects in question were already over the limit.
BYOND Version:512.1525
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 83.0.4103.97
Applies to:Dream Maker
Status: Resolved (513.1526)

This issue has been resolved.
Descriptive Problem Summary:
When compiling after adding a new override of a non-built-in datum variable, sometimes it claims the internal array limit of 65k was exceeded, This limit was already removed and we already use more then this.

Fixed by lummox already, this is just so he has a bug report to close.

Workarounds:

placing a new list var with a compile time list initialization after the most recently added override of a non-built-in datum variable seems to stop the compile error.

//broken
/obj/vehicle/gondola
name = "Gondola"
desc = "Well it ain't Venice"
icon = 'icons/obj/gondola.dmi'
icon_state = "gondolaboat"
max_integrity = 9999
default_driver_move = TRUE

//"""fixed"""
/obj/vehicle/gondola
name = "Gondola"
desc = "Well it ain't Venice"
icon = 'icons/obj/gondola.dmi'
icon_state = "gondolaboat"
max_integrity = 9999
default_driver_move = TRUE
var/list/L = list()
Lummox JR resolved issue with message:
In some complex projects, a weird error message could appear about exceeding the old 64K limit maximum number of internal arrays, even though that limit has been long gone and the projects in question were already over the limit.