-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #2024: TypeApply can be a final apply of a recursive method. #2025
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
Conversation
@felixmulder, is our CI dead?
|
@nicolasstucki please review. |
(if (mirrorC ne null) mirrorC else plainC).visitAttribute(dataAttr) | ||
val store = if (mirrorC ne null) mirrorC else plainC | ||
store.visitAttribute(dataAttr) | ||
if (ctx.settings.emitTasty.value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not seem to be relevant to this PR as -XemitTasty
is never enabled.
It saves tasty output near the class file output to a *.tasty-file.
nullary methods with type parameters were handled wrongly, which led to absence of type application and a cryptic error message.
Let's make it a -Y option? |
@@ -44,6 +44,7 @@ class ScalaSettings extends Settings.SettingGroup { | |||
/** -X "Advanced" settings | |||
*/ | |||
val Xhelp = BooleanSetting("-X", "Print a synopsis of advanced options.") | |||
val emitTasty = BooleanSetting("-XemitTasty", "Generate tasty in separate *.tasty file.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should probably make it a -Y
option or remove it from this PR.
LGTM |
nullary methods with type parameters were handled wrongly, which led to
absence of type application and a cryptic error message.