doublec / aliceml-abandoned

Moved to aliceml/aliceml
30 stars 1 forks source link

Trailing space in console prevents command from being evaluated #5

Closed ardeujho closed 9 years ago

ardeujho commented 10 years ago

Entering code without a trailing space after the semicolon works fine in the interactive console when pressing enter:

1+2;<enter>
val it : int = 2

Adding a trailing space followed by a newline causes the console to wait for further input. Only another semicolon appears to cause the first line to be processed:

1+2;<space><enter>
;
val it : int = 2
doublec commented 9 years ago

Following up at aliceml/aliceml#4.