Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Package import should merge same package occurrence #1193

Open
sgalles opened this issue Nov 1, 2014 · 0 comments
Open

Package import should merge same package occurrence #1193

sgalles opened this issue Nov 1, 2014 · 0 comments
Milestone

Comments

@sgalles
Copy link
Contributor

sgalles commented Nov 1, 2014

How to reproduce :
In the same package, create 3 classes in 3 files :

shared class Foo(Bar b, Baz c) {} // file 1
shared class Bar() {} // file 2
shared class Baz() {} // file 3

Create an other package, and simultaneously drag and drop files of Bar and Baz into an other package
you get :

import mymod.sub {
    Bar
}
import mymod.sub { // ERROR : duplicate import: 'mymod.sub'
    Baz
}
shared class Foo(Bar b, Baz c) {}
@sgalles sgalles changed the title Automic package import should merge same package occurrence Package import should merge same package occurrence Nov 1, 2014
@gavinking gavinking self-assigned this Nov 2, 2014
@gavinking gavinking added this to the Ceylon 1.3 milestone Feb 1, 2015
@bjansen bjansen modified the milestones: 1.3.1, 1.3.2, 1.4 Dec 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants