Add test for type aliases in port types
commit7e101d35bc57fd054abe4b069bfe97bc9a3cbbf4
authorEvan Czaplicki <info@elm-lang.org>
dateFri 13 Jun 2014, 12:26 (12 years ago)
parent069a4c5
tests/compiler/test-files/good/PortsWithTypeAliases.elmnew file+8
@@ -0,0 +1,8 @@
1+
2+type Point2D = Point Float Float
3+
4+type Point a b = { x:a, y:b }
5+
6+port points : Signal Point2D
7+
8+port pairs : Signal (Point String String)