diff options
author | Martin Odersky <odersky@gmail.com> | 2014-01-13 19:15:31 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-01-13 19:15:31 +0100 |
commit | 3affebe539b3461e7ea84411fe0a3943ccf35b4b (patch) | |
tree | e8cdacdc7136713c28a82e7c899edb305d8a1fdf /src/dotty/tools/dotc/core/Flags.scala | |
parent | 607033b8127c249b2eda95da2341a7e98f4063b4 (diff) | |
download | dotty-3affebe539b3461e7ea84411fe0a3943ccf35b4b.tar.gz dotty-3affebe539b3461e7ea84411fe0a3943ccf35b4b.tar.bz2 dotty-3affebe539b3461e7ea84411fe0a3943ccf35b4b.zip |
Refined handling of imports
Three changes:
1) Named imports beat wildcard imports in same scope, no matter what the relative order is
2) Named/named imports and wildcard/wildcard imports in the same scope of the same name but different
symbols give an error
3) An error is not reported if two imported termRefs or typeRefs are equal wrt =:=.
Diffstat (limited to 'src/dotty/tools/dotc/core/Flags.scala')
0 files changed, 0 insertions, 0 deletions