Skip to content

Instantly share code, notes, and snippets.

@baroquebobcat
Created August 20, 2014 14:57
Show Gist options
  • Save baroquebobcat/8c77b451fb4bc7cf22a4 to your computer and use it in GitHub Desktop.
Save baroquebobcat/8c77b451fb4bc7cf22a4 to your computer and use it in GitHub Desktop.

constants work by being translated into field accesses / assigns.

to ensure that constants that are seen before they are assigned can be resolved, the mirror typer keeps a hash of fields that it has seen, but haven't been assigned or declared yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment