tests/cases/conformance/internalModules/DeclarationMerging/part2.ts(3,24): error TS2304: Cannot find name 'Point'.
tests/cases/conformance/internalModules/DeclarationMerging/part2.ts(7,36): error TS2304: Cannot find name 'Point'.
tests/cases/conformance/internalModules/DeclarationMerging/part2.ts(7,54): error TS2304: Cannot find name 'Point'.


==== tests/cases/conformance/internalModules/DeclarationMerging/part1.ts (0 errors) ====
    export module A {
        export interface Point {
            x: number;
            y: number;
        }
    
        export module Utils {
            export function mirror<T extends Point>(p: T) {
                return { x: p.y, y: p.x };
            }
        }
    
        export var Origin: Point = { x: 0, y: 0 };
    }
    
==== tests/cases/conformance/internalModules/DeclarationMerging/part2.ts (3 errors) ====
    export module A {
        // collision with 'Origin' var in other part of merged module
        export var Origin: Point = { x: 0, y: 0 };
                           ~~~~~
!!! error TS2304: Cannot find name 'Point'.
    
        export module Utils {
            export class Plane {
                constructor(public tl: Point, public br: Point) { }
                                       ~~~~~
!!! error TS2304: Cannot find name 'Point'.
                                                         ~~~~~
!!! error TS2304: Cannot find name 'Point'.
            }
        }
    }
    