mirror of https://github.com/sbt/sbt.git
The previous implementation was instantiating a toolbox to parse every time it parsed a sbt file (and even recursively!!!). This is inefficient and translates to instantiating a `ReflectGlobal` every time we want to parse something. This commit takes another approach: 1. It removes the dependency on `ReflectGlobal`. 2. It reuses the same `Global` and `Run` instances for parsing. This is an efficient as it can get without doing a whole overhaul of it. I think that in the future we may want to reimplement it to avoid the recursive parsing to work around Scalac's bug. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||