on master help sign in
Properly handle the qualified `Text` type
commit20e2ff0a28f238161ccb8621778e4de8ac8eb7e8 authorEvan Czaplicki <info@elm-lang.org> dateThu 1 Aug 2013, 15:38 (13 years ago) parent51ba512
1 file changed+2−2
compiler/Type/Unify.hs+2−2
compiler/Type/Unify.hs+2−2
@@ -121,8 +121,8 @@ actuallyUnify span variable1 variable2 = do
121121 (Is Comparable, _, _, _) -> unifyComparableStructure variable1 variable2
122122 (_, Is Comparable, _, _) -> unifyComparableStructure variable2 variable1
123123
124− (Is Appendable, _, _, Just "Text") -> flexAndUnify variable1
125− (_, Is Appendable, Just "Text", _) -> flexAndUnify variable2
124+ (Is Appendable, _, _, Just "Text.Text") -> flexAndUnify variable1
125+ (_, Is Appendable, Just "Text.Text", _) -> flexAndUnify variable2
126126 (Is Appendable, _, _, _) -> unifyAppendable variable1 variable2
127127 (_, Is Appendable, _, _) -> unifyAppendable variable2 variable1
128128