Go to file
Ryan Nowak bfbb9a78a2 Fix a bug with ref and declaration phase
This fixes a regression in the new `@ref` support, where the build will
fail during the declaration pass.

The problem is that the EliminateMethodBodyPass runs really early and
wipes out the usage of `@ref` before we have a chance to see it. The
solution is to make it run really late. This makes sense because we
basically just use this pass to do cleanup.
\n\nCommit migrated from 09b50151ef
2019-07-01 17:26:14 -07:00
src Fix a bug with ref and declaration phase 2019-07-01 17:26:14 -07:00