-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined error in isPropertyAccessExpression #27032
Comments
Probably due to expando functions, because I think the only thing in lib/ is .ts files. Edit: That is, it's not likely related to the 3 linked issues, but is related to a few already-closed issues. |
// @declaration: true
function compile(): void { }
namespace compile {
export interface Settings { }
} I have a fix and as soon as I add a test, I'll send out a PR. |
Thanks for the quick fix! I'll test the next nightly |
@sandersn, I am still seeing this behavior with |
Repro:
|
I tried @ivogabe's repro with ~3.1.0-dev.20180922 and that now builds fine. |
@blink1073 I’ll try your repro when I’m at my desk. Unless your stack trace is identical, then it’s likely a different issue. |
I'm afk, but my stack trace was identical, and was what led me to this issue. |
Hmm. I just tried the repro and it doesn't happen with builds from Friday (9/21) or today (9/24) or Note that I couldn't get |
Thanks for checking! That sounds right as far as procedure. I'll try again when I get back. |
Hmm, this is still happening for me with
|
False alarm, I ran |
No, something is definitely not right. It is still failing on CI: https://travis-ci.org/blink1073/jupyterlab/jobs/432833170#L638.
|
|
If I change the tsc code to |
Interestingly, if I replace |
3.1 final is released now |
Works now locally and on CI! 🎉 |
TypeScript Version: 3.1.0-dev.20180907
(3.0.3 works fine)
Search Terms:
isPropertyAccessExpression undefined kind
Code
I couldn't replicate this in a small example. The bug can be reproduced with the following steps:
npm install
npm install [email protected]
./node_modules/.bin/tsc -p lib
Expected behavior:
Compilation succeeds without errors
Actual behavior:
Related Issues:
#26964
#26978
#26832
The text was updated successfully, but these errors were encountered: