You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
import() of module with bad exports: TypeError: Cannot read property 'kind' of undefined at getTypeOfFuncClassEnumModule #26964
Expected behavior:
Should give an error about the conflicting exports.
Actual behavior:
$ ~/TypeScript-3.0.3/bin/tsc -m amd A.ts
/home/jeffrey/TypeScript-3.0.3/lib/tsc.js:67654
throw e;
^
TypeError: Cannot read property 'kind' of undefined
at getTypeOfFuncClassEnumModule (/home/jeffrey/TypeScript-3.0.3/lib/tsc.js:27916:50)
at getTypeOfSymbol (/home/jeffrey/TypeScript-3.0.3/lib/tsc.js:27993:24)
at checkImportCallExpression (/home/jeffrey/TypeScript-3.0.3/lib/tsc.js:39382:96)
at checkExpressionWorker (/home/jeffrey/TypeScript-3.0.3/lib/tsc.js:40864:32)
at checkExpression (/home/jeffrey/TypeScript-3.0.3/lib/tsc.js:40809:42)
at checkExpressionStatement (/home/jeffrey/TypeScript-3.0.3/lib/tsc.js:42767:13)
at checkSourceElement (/home/jeffrey/TypeScript-3.0.3/lib/tsc.js:44426:28)
at Object.forEach (/home/jeffrey/TypeScript-3.0.3/lib/tsc.js:168:30)
at checkSourceFileWorker (/home/jeffrey/TypeScript-3.0.3/lib/tsc.js:44596:20)
at checkSourceFile (/home/jeffrey/TypeScript-3.0.3/lib/tsc.js:44569:13)
Activity