rbxts-flamework / core

Flamework is an extensible game framework. It requires typescript and offers many useful features.
MIT License
101 stars 8 forks source link

Flamework macros not working inside decorators #85

Closed lamborghinious closed 1 year ago

lamborghinious commented 1 year ago

Encountering an issue with the usage of a few macros within decorators. Specifically, the Flamework.createGuard and Modding.inspect macros do not seem to work properly when used inside decorators.

e.g. Modding.inspect<1>() results in Modding.inspect() in the output

Initially noticed this on version 20, but seems like it's also in version 21

Fireboltofdeath commented 1 year ago

https://github.com/rbxts-flamework/transformer/commit/00a34dedf1d2de737fc5965c137c1f2979fe05c8