Applying a strategy in an overlay definition causes a fatal error, but the error message is not pointing at the offending definition:

module foo

overlays
bar = 1

strategies
main = fail

compiling foo.str yields:

[ strc | info ] Compiling ‘./foo.str’
[ strc | error ] Compilation failed (0.26 secs)

It would be nice to indicate that the error stems from the strategy application in the bar overlay.

Submitted on 22 March 2007 at 13:52

On 28 January 2013 at 14:46 Eelco Visser removed tag 0.18M2

On 28 January 2013 at 14:46 Eelco Visser tagged interesting

Log in to post comments