diff options
Diffstat (limited to 'tests/disabled/not-representable/naming-resolution/callsite.scala')
-rw-r--r-- | tests/disabled/not-representable/naming-resolution/callsite.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/disabled/not-representable/naming-resolution/callsite.scala b/tests/disabled/not-representable/naming-resolution/callsite.scala new file mode 100644 index 000000000..036803a26 --- /dev/null +++ b/tests/disabled/not-representable/naming-resolution/callsite.scala @@ -0,0 +1,10 @@ +// This one should be rejected according to spec. The import takes precedence +// over the type in the same package because the typeis declared in a +// different compilation unit. scalac does not conform to spec here. +package naming.resolution + +import java.nio.file._ // Imports `Files` + +object Resolution { + def gimmeFiles: Files = Files.list(Paths.get(".")) +} |