TypeScript/tests/cases/fourslash/goToDefinitionShadowVariableInsideModule.ts

10 lines
271 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts'/>
////module shdModule {
//// var /*shadowVariableDefinition*/shdVar;
//// /*shadowVariableReference*/shdVar = 1;
////}
goTo.marker('shadowVariableReference');
goTo.definition();
verify.caretAtMarker('shadowVariableDefinition');