mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-09-15 06:46:02 -06:00
add an explict lin Int do disambiguate the overloading
This commit is contained in:
@@ -51,7 +51,7 @@ lin
|
|||||||
intYear = symb ;
|
intYear = symb ;
|
||||||
|
|
||||||
-- : Int -> Monthday ; -- 31th (March)
|
-- : Int -> Monthday ; -- 31th (March)
|
||||||
intMonthday i = symb { s = i.s ++ "日" } ;
|
intMonthday i = symb (lin Int {s = i.s ++ "日"}) ;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user