lang: Add common type to global variables
We use the list of strings so often, we might as well give it a global variable.
This commit is contained in:
@@ -125,7 +125,7 @@ func TestUnification1(t *testing.T) {
|
||||
v1: types.TypeStr,
|
||||
v2: types.TypeStr,
|
||||
v3: types.TypeStr,
|
||||
expr: types.NewType("[]str"),
|
||||
expr: types.TypeListStr,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user