git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Create simple failing test cases for row constructors
fc2cd01Łukasz Hanuszczak
examples/failing/RowConstructors1.pursnew file+6
@@ -0,0 +1,6 @@
1+module Main where
2+
3+data Foo = Bar
4+type Baz = { | Foo }
5+
6+main = Debug.Trace.trace "Done"
examples/failing/RowConstructors2.pursnew file+6
@@ -0,0 +1,6 @@
1+module Main where
2+
3+type Foo r = (x :: Number | r)
4+type Bar = { | Foo }
5+
6+main = Debug.Trace.trace "Done"
examples/failing/RowConstructors3.pursnew file+6
@@ -0,0 +1,6 @@
1+module Main where
2+
3+type Foo = { x :: Number }
4+type Bar = { | Foo }
5+
6+main = Debug.Trace.trace "Done"