Closed cdsmith closed 2 years ago
I was attempting to follow the tutorial at https://nokomprendo.gitlab.io/posts/tuto_075/2021-09-12-fr-README.html
HLS is flagging the Binding module with Multi Cradle: no prefixes matched. The module is listed in the other-modules section of a foreign-library section in the cabal file, as follows:
Multi Cradle: no prefixes matched
other-modules
foreign-library
foreign-library fibohs type: native-shared cc-options: -std=c++17 c-sources: cbits/binding.cpp install-includes: cbits/binding.hpp hs-source-dirs: ffi build-depends: ffi, base other-modules: Binding
Adding this hie.yaml
hie.yaml
cradle: cabal:
fixes the problem, which indicates this is a problem with implicit-hie.
The fix is published in 0.1.2.7. This should be fixed once HLS picks up the new version.
0.1.2.7
I was attempting to follow the tutorial at https://nokomprendo.gitlab.io/posts/tuto_075/2021-09-12-fr-README.html
HLS is flagging the Binding module with
Multi Cradle: no prefixes matched
. The module is listed in theother-modules
section of aforeign-library
section in the cabal file, as follows:Adding this
hie.yaml
fixes the problem, which indicates this is a problem with implicit-hie.