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
The EBNF of aphaid in SIP11 says that id preceding a processed is
alphaid ::= upper idrest | varid
Scala Language Specification 2.9 specifies
varid ::= lower idrest idrest ::= {letter | digit} [‘_’ op] op ::= opchar {opchar}
Acording to the EBNF, the following should be a list of valid alphaids.
a_a a_+
However, when using the later with processed strings, the following compiler error is produced:
error: value a_+ is not a member of StringContext
Example code:
implicit class A(val sc: StringContext) { def a_a(args: Any*) = args def a_+(args: Any*) = args } val a = "Hello StringInterpolation" a_a"$a" // ok, produces WrappedArray(Hello StringInterpolation) a_+"$a" // error: value a_+ is not a member of StringContext StringContext("").a_+(a) // ok, produces WrappedArray(Hello StringInterpolation)
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-7322?orig=1 Reporter: Heikki Vesalainen (hvesalai) Affected Versions: 2.10.1
Sorry, something went wrong.
@som-snytt said: That would be a gnat.
scala/scala#3424
som-snytt
No branches or pull requests
The EBNF of aphaid in SIP11 says that id preceding a processed is
Scala Language Specification 2.9 specifies
Acording to the EBNF, the following should be a list of valid alphaids.
a_a a_+
However, when using the later with processed strings, the following compiler error is produced:
Example code:
The text was updated successfully, but these errors were encountered: