google-code-export / omega

Automatically exported from code.google.com/p/omega
Other
2 stars 0 forks source link

command line ignores excess (malformed) input #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Enter this at prompt> or check>

check> 42)
42 :: Int

I would expect that this results in an error, but obviously it gets accepted.
The excess portion gets silently discarded.

Original issue reported on code.google.com by ggr...@gmail.com on 4 May 2007 at 12:57

GoogleCodeExporter commented 9 years ago

Original comment by ggr...@gmail.com on 5 May 2007 at 8:24

GoogleCodeExporter commented 9 years ago
fixed in Omega 1.4.2:

prompt> 42)

I parsed the command:
 42
But there was some trailing text: )

Original comment by ggr...@gmail.com on 11 Jun 2007 at 2:30