Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

Expression annotations are only detected on function declarations- #19

Closed
eiswind opened this issue Aug 9, 2020 · 1 comment
Closed

Comments

@eiswind
Copy link

eiswind commented Aug 9, 2020

Thanx for this great idea!

Something I found out the hard way:
getAnnotatedExpressions() is only being called on SimpleFunctionDescriptors.

so an annotated val or var like

val string = @ExpressionAnn "test"

simpy goes unnoticed.

@eiswind
Copy link
Author

eiswind commented Aug 9, 2020

Seems to be invalid as it works with your example. Sorry

@eiswind eiswind closed this as completed Aug 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant