Closed Chematronix closed 6 days ago
Hmm, I wonder why Windows has those problems and whether we can avoid them? Theoretically speaking, this package does not use any *nix-specific api at all!
Hmm, I wonder why Windows has those problems and whether we can avoid them? Theoretically speaking, this package does not use any *nix-specific api at all!
It's a dart:io bug (dart-lang/sdk#48329) which impacts cli_repl. I'ts been mentioned before #81 #88 (and I see an unfinished PR at #61). Fortunately it's easy to install WSL.
I would worry more about "Hot reload failed" on syntax/type errors, which completely breaks the REPL in all platforms and wipes all your progress. At least that's what happens if I do something like print()
or 1+'a'
.
I see. Then maybe we should explain it is dart:io bug. No worries just leave this pr as-is and I will update it.
I would worry more about "Hot reload failed" on syntax/type errors, which completely breaks the REPL in all platforms and wipes all your progress. At least that's what happens if I do something like print() or 1+'a'.
I do not have windows at hand, so I wonder whether you mean "Hot reload failed" is also caused by this dart:io bug? Or by something else
I do not have windows at hand, so I wonder whether you mean "Hot reload failed" is also caused by this dart:io bug? Or by something else
It happens with some syntax or type errors, in both Windows and WSL Linux, so I'd assume it breaks other platforms/OSes as well, if not all of them (that's what I meant to indicate in the Readme changes). It's unrelated to the dart:io keyboard issues. It's pretty aggravating. This doesn't happen in MacOS?
Oh I see. Btw it would be great if we fix this, and feel free to PR for this!
(I will merge a bit later since will need to do a bit of modifications after merging)
Hi! Congrats on merging your first pull request! :tada:
@all-contributors please add @Chematronix for code
@fzyzcjy
I've put up a pull request to add @Chematronix! :tada:
@all-contributors please add @Chematronix for doc
@fzyzcjy
I've put up a pull request to add @Chematronix! :tada:
Hi! Thanks for opening this pull request! :smile: