Fix Trac #1746: make rule-matching work properly with Cast expressions
authorsimonpj@microsoft.com <unknown>
Sat, 29 Sep 2007 10:44:06 +0000 (10:44 +0000)
committersimonpj@microsoft.com <unknown>
Sat, 29 Sep 2007 10:44:06 +0000 (10:44 +0000)
The Cast case of the rule-matcher was simply wrong.

This patch fixes it; see Trac #1746.

I also fixed the rule generation in SpecConstr to generate a wild-card
for the cast expression, which we don't want to match on.  This makes
the rule more widely applicable; it wasn't the cause of the bug.


No differences found