30 lines
740 B
Go
30 lines
740 B
Go
// Code generated by convertFourslash; DO NOT EDIT.
|
|
// To modify this test, run "npm run makemanual referencesForInheritedProperties6"
|
|
|
|
package fourslash_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/microsoft/typescript-go/internal/fourslash"
|
|
"github.com/microsoft/typescript-go/internal/testutil"
|
|
)
|
|
|
|
func TestReferencesForInheritedProperties6(t *testing.T) {
|
|
fourslash.SkipIfFailing(t)
|
|
t.Parallel()
|
|
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
|
const content = `class class1 extends class1 {
|
|
/*1*/doStuff() { }
|
|
}
|
|
class class2 extends class1 {
|
|
doStuff() { }
|
|
}
|
|
|
|
var v: class2;
|
|
v.doStuff();`
|
|
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
|
defer done()
|
|
f.VerifyBaselineFindAllReferences(t, "1")
|
|
}
|