40 lines
662 B
Text
40 lines
662 B
Text
|
=== tests/cases/compiler/sourceMap-Comments.ts ===
|
||
|
module sas.tools {
|
||
|
>sas : typeof sas
|
||
|
>tools : typeof tools
|
||
|
|
||
|
export class Test {
|
||
|
>Test : Test
|
||
|
|
||
|
public doX(): void {
|
||
|
>doX : () => void
|
||
|
|
||
|
let f: number = 2;
|
||
|
>f : number
|
||
|
>2 : number
|
||
|
|
||
|
switch (f) {
|
||
|
>f : number
|
||
|
|
||
|
case 1:
|
||
|
>1 : number
|
||
|
|
||
|
break;
|
||
|
case 2:
|
||
|
>2 : number
|
||
|
|
||
|
//line comment 1
|
||
|
//line comment 2
|
||
|
break;
|
||
|
case 3:
|
||
|
>3 : number
|
||
|
|
||
|
//a comment
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|