|
Linear implicit parameters: linearity not enforced: msg#00112lang.haskell.glasgow.bugs
Hi, in the following code, the implicit parameter %foo doesn't get split (and therefore this code compiles without a Splittable instance for (Foo r)). However, `a1 + a1' and `a2 + a2' work as expected. Tested with ghc-6.2 and ghc-6.4.20050303. > data Foo r = Foo > > a1 :: (%foo :: Foo a) => Int > a1 = undefined > > a2 :: (%foo :: Foo Int) => Int > a2 = undefined > > bar :: (%foo :: Foo Int) => Int > bar = a1 + a2 Thomas
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1164833 ] Panic while linking with hs-boot files, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-1163018 ] Profiling broken under windows for ghc-6.4?, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-1164833 ] Panic while linking with hs-boot files, SourceForge.net |
| Next by Thread: | ignoring contexts (version 6.4.20050304), Daniel Fischer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |