mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
update getSymbolInfo
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
////class Foo {
|
||||
//// /*1*/"blah"() { return 0; }
|
||||
////}
|
||||
////
|
||||
////var x: Foo;
|
||||
////x./*2*/blah;
|
||||
|
||||
|
||||
goTo.marker("1");
|
||||
verify.referencesCountIs(2);
|
||||
|
||||
goTo.marker("2");
|
||||
verify.referencesCountIs(2);
|
||||
@@ -0,0 +1,15 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
////class Foo2 {
|
||||
//// get /*1*/"42"() { return 0; }
|
||||
//// set /*2*/42(n) { }
|
||||
////}
|
||||
////
|
||||
////var y: Foo2;
|
||||
////y[42];
|
||||
|
||||
goTo.marker("1");
|
||||
verify.referencesCountIs(3);
|
||||
|
||||
goTo.marker("2");
|
||||
verify.referencesCountIs(3);
|
||||
Reference in New Issue
Block a user