lang: unification: Fix up small typos in example code
This commit is contained in:
@@ -517,8 +517,8 @@ func TestUnification1(t *testing.T) {
|
|||||||
}
|
}
|
||||||
// XXX: add these tests when we fix the bug!
|
// XXX: add these tests when we fix the bug!
|
||||||
//{
|
//{
|
||||||
// //test "t1" {
|
|
||||||
// //import "fmt"
|
// //import "fmt"
|
||||||
|
// //test "t1" {
|
||||||
// // stringptr => fmt.printf("hello %s and %s", "one"), # bad
|
// // stringptr => fmt.printf("hello %s and %s", "one"), # bad
|
||||||
// //}
|
// //}
|
||||||
// expr := &ExprCall{
|
// expr := &ExprCall{
|
||||||
@@ -556,8 +556,8 @@ func TestUnification1(t *testing.T) {
|
|||||||
// })
|
// })
|
||||||
//}
|
//}
|
||||||
//{
|
//{
|
||||||
// //test "t1" {
|
|
||||||
// //import "fmt"
|
// //import "fmt"
|
||||||
|
// //test "t1" {
|
||||||
// // stringptr => fmt.printf("hello %s and %s", "one", "two", "three"), # bad
|
// // stringptr => fmt.printf("hello %s and %s", "one", "two", "three"), # bad
|
||||||
// //}
|
// //}
|
||||||
// expr := &ExprCall{
|
// expr := &ExprCall{
|
||||||
@@ -601,8 +601,8 @@ func TestUnification1(t *testing.T) {
|
|||||||
// })
|
// })
|
||||||
//}
|
//}
|
||||||
{
|
{
|
||||||
//test "t1" {
|
|
||||||
//import "fmt"
|
//import "fmt"
|
||||||
|
//test "t1" {
|
||||||
// stringptr => fmt.printf("hello %s and %s", "one", "two"),
|
// stringptr => fmt.printf("hello %s and %s", "one", "two"),
|
||||||
//}
|
//}
|
||||||
expr := &ExprCall{
|
expr := &ExprCall{
|
||||||
|
|||||||
Reference in New Issue
Block a user