Added test.
This commit is contained in:
parent
0e879c0bbf
commit
486f156a69
10
tests/cases/compiler/superCallWithCommentEmit01.ts
Normal file
10
tests/cases/compiler/superCallWithCommentEmit01.ts
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
class A {
|
||||||
|
constructor(public text: string) { }
|
||||||
|
}
|
||||||
|
|
||||||
|
class B extends A {
|
||||||
|
constructor(text: string) {
|
||||||
|
// this is subclass constructor
|
||||||
|
super(text)
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue