Fix classifier as well.

This commit is contained in:
Ron Buckton
2016-09-08 16:20:18 -07:00
parent feedb6ccff
commit b90e3eec3c
5 changed files with 12 additions and 9 deletions

View File

@@ -1566,7 +1566,7 @@ namespace ts.server {
this.setCompilerOptions(defaultOpts);
}
this.languageService = ts.createLanguageService(this.host, this.documentRegistry);
this.classifier = ts.Classifier.createClassifier();
this.classifier = ts.createClassifier();
}
setCompilerOptions(opt: ts.CompilerOptions) {