27 lines
643 B
TypeScript
27 lines
643 B
TypeScript
/// <reference path="fourslash.ts"/>
|
|
|
|
//// function foo() {
|
|
//// function getOccurrencesAtPosition() {
|
|
//// switch (node) {
|
|
//// enum /*1*/
|
|
//// }
|
|
////
|
|
//// return undefined;
|
|
////
|
|
//// function keywordToReferenceEntry() {
|
|
//// }
|
|
//// }
|
|
////
|
|
//// return {
|
|
//// getEmitOutput: (filename): Bar => null,
|
|
//// };
|
|
//// }
|
|
|
|
// Force a syntax tree ot be created.
|
|
verify.noMatchingBracePositionInCurrentFile(0);
|
|
|
|
// make sure we check the tree after every edit.
|
|
diagnostics.setTypingFidelity(TypingFidelity.High);
|
|
goTo.marker('1');
|
|
edit.insert('Fo');
|