-
Notifications
You must be signed in to change notification settings - Fork 65
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
completion-record local typechecking #408
Conversation
src/Clause.ts
Outdated
})), | ||
return: parsedHeader.returnType, | ||
}; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An empty line is forgotten here. BTW, maybe a check should be added into a linting stage?
}); | ||
}); | ||
|
||
describe('AO returning unused is not Performed', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need similar assertions for a normal completion record containing ~unused~
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, if it returns a completion record it's reasonable to capture the result and check its [[Type]] in a subsequent step. Not something we can automate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nothing fatal.
No description provided.