Mat*_*loy 4 generics haxe interface
我有一个扩展Iterable(以及其他接口)的接口.
interface MyInterface extends Iterable {
public function iterator ():Iterator<Dynamic>;
}
Run Code Online (Sandbox Code Playgroud)
这给了我
MyInterface.hx:1:第1-3行:Iterable的类型参数数量无效
什么是正确的进行方式?
| 归档时间: |
|
| 查看次数: |
247 次 |
| 最近记录: |