illegal chars accepted in literal strings
|Reported by:||malcolm.wallace@…||Owned by:|
|Type of failure:||Difficulty:||Easy (less than 1 hour)|
|Test Case:||read033||Blocked By:|
Ghc accepts literal tab characters inside literal strings, even though these are not permitted by Haskell'98.
Other compilers correctly reject them:
Error at line 1, column 2: Tab in literal string/char. Use \t instead.
Change History (7)
comment:6 Changed 6 years ago by simonmar
- Operating System changed from Multiple to Unknown/Multiple