-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IMPORT
intermittently generates incorrect multi-level packages when defined from a String
#35
Comments
Tracked the bug to here (
|
I wonder if there's some race condition around treehugger/library/src/main/scala/treehugger/Definitions.scala Lines 658 to 667 in d196638
|
This is definitely a mind-phrack while debugging, confirmed the Symbol references fixes the problem. |
Just quickly to mention that I have hit this problem today (on 0.4.3). |
Defining in
IMPORT
with aSymbol
seems to have solved my issue, but I thought I should report issue I had when generating imports fromString
s.For example "org.apache.avro.Schema" variously becomes "org.Schema", or "org.apache.org.apache.avro.Schema", etc, until I predefine the
Symbol
withRootClass.newClass("org.apache.avro.Schema")
.I tried to make a MRE, but it seems that the project needs to be large and slow for this issue to arrise(?).
The text was updated successfully, but these errors were encountered: