You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a test. You don't see the warning that the import is not respected because of the implicit error; unless you uncomment the other import and implicitly.
If errors suppress warnings, then it would be nice if there were a way to always display warnings, for example, under -Xfatal-warnings.
caseclassK(s: java.lang.String)
classC { implicitvalk:K=K("OK?"); overridedeftoString="C("+ k.toString +")" }
objectTestextendsApp {
// uncomment to show the warning//import concurrent.ExecutionContext.Implicits._//def x = implicitly[concurrent.ExecutionContext]valc=newCimportc.kdefg= implicitly[K]
valk=42
}
The text was updated successfully, but these errors were encountered:
From a test. You don't see the warning that the import is not respected because of the implicit error; unless you uncomment the other import and implicitly.
If errors suppress warnings, then it would be nice if there were a way to always display warnings, for example, under -Xfatal-warnings.
The text was updated successfully, but these errors were encountered: