You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @inline annotation breaks the ability to have a single codebase that can be compiled via AssemblyScript and also ran natively in a JS engine that supports typescript.
I suggest adding the ability to inline functions behind a single line comment
// @inlinefunctioncriticalFunc(): void{}
or a tripple slash single line comment
/// @inlinefunctioncriticalFunc(): void{}
The text was updated successfully, but these errors were encountered:
I have tried to implement it, but found it needs lots of refactor in parser module.
At current time, comment is handled by tokenizer and skip it directly. @dcodeIO WDYT? Should we introduce a new preprocess to handle comment or refactor tokenizer and parser module.
Feature suggestion
The
@inline
annotation breaks the ability to have a single codebase that can be compiled via AssemblyScript and also ran natively in a JS engine that supports typescript.I suggest adding the ability to inline functions behind a single line comment
or a tripple slash single line comment
The text was updated successfully, but these errors were encountered: