Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 229 by Artemciy: Haskell: support for not using layout (curly
braces are red).
http://code.google.com/p/yi-editor/issues/detail?id=229
What steps will reproduce the problem?
1. Open a Haskell file and enter:
main = let {
a = 1
} in print a
What is the expected output? What do you see instead?
I expect to see white curly braces, and I see red curly braces, as if there
was an error.
Please provide relevant version information:
What version of Yi are you using?
0.5.2
What version of GHC?
6.8.3
Please provide any additional information below.
As specified in the Haskell 98 report
http://haskell.org/onlinereport/lexemes.html
using Haskell layout is optional.
When the programmer uses braces, he can selectively ignore the haskell
layout rules.
It looks like Yi does not recognize the braces and tries to apply the
layout rules where it shouldn't, thus incorrectly highlighting the braces
in red as if there was a syntax error.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---