// @target: es2015
class Module {
    public members: Class[];
}

class Namespace {
    public members: (Class | Property)[];
}

class Class {
    public parent: Namespace;
}

class Property {
    public parent: Module | Class;
}

declare var c: Class;
declare var p: Property;
c = p;
p = c;
