Re: Reworking import statements (proposal)

Naftoli Gugenheim <[email protected]> Thu, 14 Apr 2016 13:33:01 +0000
Newsgroups gmane.comp.lang.scala
Message-ID <CANpg8PCjMKhbJ7QaLHhC8aHZ9yPi1dDnFCgS0fWVRdhPQRSDrw@mail.gmail.com>
On Thu, Apr 14, 2016, 1:46 AM Simon Ochsenreither <
[email protected]> wrote:

>
> And is ambiguous as well -- there's nothing stopping you from having a
>> symbol named _root_ (or having the compiler think so).
>>
>
> I think the compiler started checking for that lately :-)
>

That's good to know, but it's still an inelegant design, it's a special
case of what's a valid identifier.


> Nevertheless, I quite like the _.foo syntax for relativ imports ...
> whether it's worth the change though ... not sure.
>


Can you give a definition of "relative import"?


-- 
> You received this message because you are subscribed to the Google Groups
> "scala-language" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "scala-language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.