Skip to content

Fail to compile on 2.7.1 and 2.8.0-dev.20180213 #21928

@unional

Description

@unional

I have a private repo that fails to compile on 2.7.1 and 2.8.0-dev.20180213.
It is compiling fine on 2.6.1.

The only thing special in this repo is that it has allowJs turned on.

error on 2.7.1

> tsc -p tsconfig.es5.json

D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:59841
                throw e;
                ^

TypeError: Cannot read property '230' of undefined
    at getTypeOfVariableOrParameterOrProperty (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:22960:81)
    at getTypeOfSymbol (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:23122:24)
    at checkPropertyAccessExpressionOrQualifiedName (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:31751:55)
    at checkPropertyAccessExpression (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:31706:20)
    at checkExpressionWorker (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:34360:28)
    at checkExpression (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:34310:42)
    at getBaseConstructorTypeOfClass (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:23272:43)
    at getBaseTypeVariableOfClass (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:23043:39)
    at getTypeOfFuncClassEnumModule (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:23055:48)
    at getTypeOfSymbol (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:23125:24)

error on 2.8.0-dev.20180213

D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:60503
                throw e;
                ^

TypeError: Cannot read property '233' of undefined
    at Object.showSyntaxKind (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:2413:33)
    at getTypeOfVariableOrParameterOrProperty (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:23146:77)
    at getTypeOfSymbol (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:23308:24)
    at checkPropertyAccessExpressionOrQualifiedName (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:32265:55)
    at checkPropertyAccessExpression (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:32220:20)
    at checkExpressionWorker (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:34872:28)
    at checkExpression (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:34822:42)
    at getBaseConstructorTypeOfClass (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:23462:43)
    at getBaseTypeVariableOfClass (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:23229:39)
    at getTypeOfFuncClassEnumModule (D:\hwong\bitbucket\pan\extjs3\node_modules\typescript\lib\tsc.js:23241:48)

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions