mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-08 02:46:15 -05:00
Added test.
This commit is contained in:
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user