The current way sheets builds is... horrible. Ideally, the final version would output a single file with everything localised, and a lookup table for file lines that's used by the Exception class to correctly determine line numbers and source files.
The preprocessor could be used to make @class XYZ turn into local XYZ = class "XYZ", and localise all classes at the top of the build.
The current way sheets builds is... horrible. Ideally, the final version would output a single file with everything localised, and a lookup table for file lines that's used by the Exception class to correctly determine line numbers and source files.
The preprocessor could be used to make
@class XYZturn intolocal XYZ = class "XYZ", and localise all classes at the top of the build.