Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
package metaobjectTest
Annotation 'codeAfter' adds the code attached to the
annotation after a local variable declaration.
object CodeAfter
func run {
sum = 1;
var Int sum = 0;
assert sum == 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment