//// [tests/cases/compiler/decoratorMetadataWithImportDeclarationNameCollision6.ts] ////

=== db.ts ===
export default class db {
>db : Symbol(db, Decl(db.ts, 0, 0))

    public doSomething() {
>doSomething : Symbol(db.doSomething, Decl(db.ts, 0, 25))
    }
}

=== service.ts ===
import database from './db';
>database : Symbol(database, Decl(service.ts, 0, 6))

function someDecorator(target) {
>someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 28))
>target : Symbol(target, Decl(service.ts, 1, 23))

    return target;
>target : Symbol(target, Decl(service.ts, 1, 23))
}
@someDecorator
>someDecorator : Symbol(someDecorator, Decl(service.ts, 0, 28))

class MyClass {
>MyClass : Symbol(MyClass, Decl(service.ts, 3, 1))

    db: database;
>db : Symbol(MyClass.db, Decl(service.ts, 5, 15))
>database : Symbol(database, Decl(service.ts, 0, 6))

    constructor(db: database) { // no collision
>db : Symbol(db, Decl(service.ts, 8, 16))
>database : Symbol(database, Decl(service.ts, 0, 6))

        this.db = db;
>this.db : Symbol(MyClass.db, Decl(service.ts, 5, 15))
>this : Symbol(MyClass, Decl(service.ts, 3, 1))
>db : Symbol(MyClass.db, Decl(service.ts, 5, 15))
>db : Symbol(db, Decl(service.ts, 8, 16))

        this.db.doSomething();
>this.db.doSomething : Symbol(database.doSomething, Decl(db.ts, 0, 25))
>this.db : Symbol(MyClass.db, Decl(service.ts, 5, 15))
>this : Symbol(MyClass, Decl(service.ts, 3, 1))
>db : Symbol(MyClass.db, Decl(service.ts, 5, 15))
>doSomething : Symbol(database.doSomething, Decl(db.ts, 0, 25))
    }
}
export {MyClass};
>MyClass : Symbol(MyClass, Decl(service.ts, 13, 8))

