镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Open
Hi-Angel wants to merge 2 commits into
TypeStrong:mainfrom
Hi-Angel:fix-indefinite-wait
Open

Hi-Angel wants to merge 2 commits into
TypeStrong:mainfrom
Hi-Angel:fix-indefinite-wait

Conversation

@Hi-Angel

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

Copy link
Copy Markdown

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

This branch has not been deployed

No deployments
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