dart_console
dart_console copied to clipboard
'NoSuchMethodError: The getter 'col' was called on null.' when running readLine() with writeLine() in while loop while holding enter.
Hi,
If you write a while loop which contains a readLine() and a writeLine() (like below) and then continuously hold down the enter key, the program will eventually crash with the error 'NoSuchMethodError: The getter 'col' was called on null.'.