We should develop a heuristic around doing this. This will help parsing time for such code because we won't spend the extra time syntax checking.
<rdar://problem/50052023>
*** Bug 202674 has been marked as a duplicate of this bug. ***
Gonna give this a go
Created attachment 388785 [details] WIP it begins
Created attachment 388954 [details] WIP it eagerly parsed something, but crashed in emitting debug info
Created attachment 388957 [details] WIP no longer crashing in emitExpressionInfo
Created attachment 389073 [details] WIP seems to work for functions.
Seems neutral on major benchmarks. It is a speedup on microbenchmarks
Created attachment 389208 [details] WIP Seems to work, but isn't really a speedup :(