Skip to content

#define FOO int* #462

Closed
Closed
@phadej

Description

@phadej
#define FOO int*

After #451, we get:

cabal run hs-bindgen -- preprocess -I. -i foo.h
PANIC!: the impossible happened
Please report this as a bug at https://github.com/well-typed/hs-bindgen/issues/
fromMacroType: 'PrimTyTyCon'
CallStack (from HasCallStack):
  panicPure, called at src/HsBindgen/C/Tc/Macro.hs:1165:26 in hs-bindgen-0.1.0-inplace:HsBindgen.C.Tc.Macro

This looks more like a TODO, not sure what's is missing though.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions