Open iBicha opened 1 year ago
I believe the examples are wrong. As far as I know, annotations don't work inside function bodies. They were intended to be used above higher-level things like above classes, functions, namespaces, etc. This comment says the same thing.
We'd be open to accepting a PR to support annotations above statements inside function bodies, but right now I think I'll just remove the incorrect example code.
Yeah removing the examples make sense to me Thanks!
From https://github.com/rokucommunity/brighterscript/blob/master/docs/annotations.md#examples