HsParser is confused by the combination of qualified names and
identifiers starting with underscores. For example:
module M where
_f _ _ = 0
x = 0 `M._f` 0 -- parse error at '.'
y = M._f 0 0 -- parses as M . (_f 0 0)
I have tested this only for GHC 5.02. For what it's worth,
that the '=' is located at the column marked by the ^.
Anders Lau Olsen
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
program: fatal error: getStablePtr: too light
% uname -a
Linux localhost 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586 unknown
% ghc --version
The Glorious Glasgow Haskell Compilation System, version 5.02
Anders Lau Olsen
___
Glasgow
why this example fails to parse too:
f x = do
y
where y = x
Anders Lau Olsen
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
not shortly after the signal is received, but only
after a sufficient amount of I/O or processing has been done by the main
process.
Anders Lau Olsen
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow
as expected:
% ./program
^C
Hello, world!
This is for GHC version 5.02, run on Linux 2.2.5-15.
Anders Lau Olsen
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
HsParser fails on any of these 6 examples:
data Data = A {
x :: Int
}
f1 x = let {
s = x
} in s
f2 x = do {
x
}
f3 x = case x of {
_ - 12
}
f4 x = s where {
s = 12
}
f5 y = A {
x = 45
}
The problem seems to be the