Skip to content

Fix indefinite wait and simplify per De Morgan's law #2156

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Hi-Angel
Copy link

@Hi-Angel Hi-Angel commented Apr 1, 2025

First commit fixes the bug as described. Second commit simplifies comparison chain by using De Morgan's law.

Note: as described on the referred issue, there's an exception being printed with the commit, however the commit is unrelated to the exception, it's a problem elsewhere (maybe even fixed in other PRs, I've seen there something related to "newer TypeScript support"), because if TS deps are downgraded, exception disappears.

Fixes: #2150

Hi-Angel added 2 commits April 1, 2025 13:29
These would otherwise result in syntax like `… node:sea = …`, which
causes further problems with indefinite wait.

Fixes: TypeStrong#2150
De Morgan's rule: `(not a) and (not b) = not (a or b)`
@Hi-Angel Hi-Angel changed the title Fix indefinite wait and simplify per De Morgan's rule Fix indefinite wait and simplify per De Morgan's law Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ts-node dos not recognize end of input; keeps printing "..."
1 participant