mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 20:14:01 -06:00
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…
x
Reference in New Issue
Block a user