Allow primes at the end of identifiers.

Good catch, Iulian! It's also an issue with symbol literals, unsurprisingly.

Regardless of whether it's considered a bug (in Scalac) or not, it's a
difference, so we'll need to put it under a -Z flag.

Given there are likely to be several very subtle parsing differences like
this -- which in all likelihood don't affect anyone that much -- would it
make sense to group them under a single -Z flag?

On 18 September 2014 13:15, Nami-Doc <notifications@github.com> wrote:

> In test/files/pos/primed-identifiers.scala:
>
> > @@ -0,0 +1,48 @@
> > +object Test {
> > +  val l = List("Identifiers", "with", "primes", "!")
> > +
> > +  val l' = l map(_.length)
> > +
> > +  val l'' = l zip l'
> > +
> > +  val l''' = l''.reverse
> > +
> > +  object a1 {
> > +    def b(c: Char) = ???
> > +
> > +    a1 b 'c'
>
> a1 b'c' parsing correctly sort of strikes me as a bug, though? Shouldn't
> it require a space?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/typelevel/scala/pull/29/files#r17723052>.
>



-- 
Jon Pretty | @propensive