use loneElement instead of onlyChecked#5585
Conversation
maltek
left a comment
There was a problem hiding this comment.
didn't you just add a new message argument, to make errors from missing edges easier to understand?
|
good point :) |
15417d9 to
3436c06
Compare
|
while writing the hints, i noticed that something like |
it is technically more correct - there are roots that just don't have a parent. IME it's rare to accidentally run into that, except with frontend bugs where crashing loudly is likely the best course of action. Usually you know where you want to go in the AST and stop long before you reach a |
|
ok, I guess it doesn't harm, so let's keep it there then |
|
The semantic change of The error message |
|
kotlin2cpg is already fixed in #5587 - will await the merge and rebase then |
fca3564 to
3383127
Compare
No description provided.