We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We could at least expose the defaultGetter method from NamesDefaults.scala: https://github.com/scala/scala/blob/f5357d98a2adfada4998fcdaea680ddc6d8460f8/src/compiler/scala/tools/nsc/typechecker/NamesDefaults.scala#L424.
defaultGetter
Not sure how invocations will work though, because they might need stuff from lexical scope.
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6468?orig=1 Reporter: @xeno-by
Sorry, something went wrong.
@xeno-by said: Also see http://stackoverflow.com/questions/14034142/how-do-i-access-default-parameter-values-via-scala-reflection
@xeno-by said: Put this in TermSymbol.getter or create a new method?
@xeno-by said: We don't have time for this in 2.10.1
@xeno-by said: Also see http://stackoverflow.com/questions/16939511/instantiating-a-case-class-with-default-args-via-reflection
Scala 3 equivalent issue: scala/scala3#17893
No branches or pull requests
We could at least expose the
defaultGetter
method from NamesDefaults.scala: https://github.com/scala/scala/blob/f5357d98a2adfada4998fcdaea680ddc6d8460f8/src/compiler/scala/tools/nsc/typechecker/NamesDefaults.scala#L424.Not sure how invocations will work though, because they might need stuff from lexical scope.
The text was updated successfully, but these errors were encountered: