haskell / c2hs

c2hs is a pre-processor for Haskell FFI bindings to C libraries
http://hackage.haskell.org/package/c2hs
Other
198 stars 50 forks source link

{#import module#} does not work cross-package #188

Open KaneTW opened 7 years ago

KaneTW commented 7 years ago

GIven a package hierarchy with two packages a and b and files

a/src/Foo.chs
b/src/Bar.chs

using {# import Foo #} in Bar fails.

Testcase: https://github.com/KaneTW/c2hs-testcase