Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Metaobject addMethodTo
package metaobjectTest
@addMethodTo("AddMethodTo", "zero", "func zero -> Int = 0;")
object AddMethodTo
func run {
assert zero == 0;
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment