darklua
darklua copied to clipboard
Error when trying to parse inline attributes like `@native`
I'm getting the following error when trying to use the @native inline attribute to tag a function for native code generation.
unable to parse `src\Common\FMShapecast\Shapes\Block.luau`: error occurred while tokenizing: unexpected character @ (30:2 to 30:3)
I encountered this while importing this Fast Minkowski Shapecast module into my project. I'm able to get around this for now using --!native at the top of the file but I would like to avoid using native code generation on the entirety of the file and just on the functions that I specify for memory and server startup time constraints.