You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'parseField' called on a non-field.This is possibly a bug inCabal.Please report it to the developers:
https://github.com/haskell/cabal/issues/new
CallStack (from HasCallStack):error, called at ./Distribution/PackageDescription/Utils.hs:21:16in
(I'm not sure what parsec variant does).
The text was updated successfully, but these errors were encountered:
FWIW: I guess it should crash, but (and) parser should warn about this. I can look into the code issue, but I don't know about the reasons to improve the documentation.
See also #4047 which is a proposal to allow a custom setup to be an external executable, in which case the current setup stanza restrictions do not apply. CC @Ericson2314
By reading http://cabal.readthedocs.io/en/latest/developing-packages.html#custom-setup-scripts it's not clear whether subsections e.g.
if os(windows)
are supported. IIRC they aren't, but IMHO it's good idea to explicitly mention this (and the reasoning behind).Also: if such section is added, cabal crashes:
(I'm not sure what parsec variant does).
The text was updated successfully, but these errors were encountered: