lang: unification: Fix up small typos in example code

This commit is contained in:
James Shubin
2019-01-20 04:22:05 -05:00
parent 9d28ff9b23
commit a1fbe152bb

View File

@@ -517,8 +517,8 @@ func TestUnification1(t *testing.T) {
}
// XXX: add these tests when we fix the bug!
//{
// //import "fmt"
// //test "t1" {
// // import "fmt"
// // stringptr => fmt.printf("hello %s and %s", "one"), # bad
// //}
// expr := &ExprCall{
@@ -556,8 +556,8 @@ func TestUnification1(t *testing.T) {
// })
//}
//{
// //import "fmt"
// //test "t1" {
// // import "fmt"
// // stringptr => fmt.printf("hello %s and %s", "one", "two", "three"), # bad
// //}
// expr := &ExprCall{
@@ -601,8 +601,8 @@ func TestUnification1(t *testing.T) {
// })
//}
{
//import "fmt"
//test "t1" {
// import "fmt"
// stringptr => fmt.printf("hello %s and %s", "one", "two"),
//}
expr := &ExprCall{