1 2 3 4 5 6 7 8 9 10
package foo:foo; interface foo { x: func(); record foo { // TODO: this should have a better error message referring to `x: func()` a: x } }