Fix the GHC.Base.inline builtin rule
authorsimonpj@microsoft.com <unknown>
Fri, 20 Apr 2007 21:10:23 +0000 (21:10 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 20 Apr 2007 21:10:23 +0000 (21:10 +0000)
commit1ca40c2037a0e973dd73d98cd20313ecdbfeb6fc
treeaf959394c6c8d14a4f883baf0a8e6a4b1378815a
parent63f8bf0136bc85c18b0080a3e30431a1faa1f980
Fix the GHC.Base.inline builtin rule

The BuiltIn rule for GHC.Base.inline wasn't working for two reasons:

 a) inlineIdName wasn't in basicKnownKeyNames
 b) The rule function wasn't taking into account the type argument

Thanks to Brian Alliet for spotting this bug.
compiler/prelude/PrelNames.lhs
compiler/prelude/PrelRules.lhs
compiler/specialise/Rules.lhs