NewType creates the Type from the string representation.
(s string)
| 381 | |
| 382 | // NewType creates the Type from the string representation. |
| 383 | func NewType(s string) *Type { |
| 384 | table := make(map[uint]*Elem) |
| 385 | return newType(s, table) |
| 386 | } |
| 387 | |
| 388 | // newType creates the Type from the string representation. This private version |
| 389 | // takes a table so that we can collect unification variables as we see them and |