Skip to content

CONLIKE pragma documentation bug

The documentation example,

{-# INLINE[1] CONLIKE f #-}
f x = blah

results in a parse error in 7.6.1, but is accepted if the pragma is instead written as

{-# INLINE CONLIKE [1] #-} 
Trac metadata
Trac field Value
Version 7.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Documentation
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information