Skip to content
Snippets Groups Projects
Commit b70e2f94 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[project @ 1999-01-28 09:19:57 by simonpj]

Always inline nullary constructors.  This makes a 
difference in:

	case x ># y of r {
	  True  -> f1 r
	  False -> f2 r
 	}

The code generator currently has difficulty binding "r"
to the boolean result of the comparision (and the compiler
crashes).  This fix substitutes for r, thus:

	case x ># y of r {
	  True  -> f1 True
	  False -> f2 False
 	}

Voila.
parent c015aa50
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment