mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 00:22:51 -06:00
possible to inherit an overload group without excluding+opening
This commit is contained in:
@@ -260,7 +260,7 @@ checkResInfo gr mo mm (c,info) = do
|
||||
checkUniq xss = case xss of
|
||||
x:y:xs
|
||||
| x == y -> raise $ "ambiguous for type" +++
|
||||
prtType gr (mkFunType (init x) (last x))
|
||||
prtType gr (mkFunType (tail x) (head x))
|
||||
| otherwise -> checkUniq $ y:xs
|
||||
_ -> return ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user