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
When compiling this code with -Yrangepos I get a compiler error. Without -Yrangepos it works.
class TypeTreeObjects {
class Container {
def typeParamAndDefaultArg[C](name: String = "sammy"): String = name
}
new Container().typeParamAndDefaultArgAny
}
I have created a standalone repo which shows the error, although all you need is the above code + a sbt file.
When compiling this code with -Yrangepos I get a compiler error. Without -Yrangepos it works.
class TypeTreeObjects {
class Container {
def typeParamAndDefaultArg[C](name: String = "sammy"): String = name
}
new Container().typeParamAndDefaultArgAny
}
I have created a standalone repo which shows the error, although all you need is the above code + a sbt file.
https://github.com/scoverage/rangepos-test
The text was updated successfully, but these errors were encountered: