Created
February 7, 2015 10:32
-
-
Save pocketberserker/4d5e28a04165629c6f43 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type IHoge<'T> = | |
| abstract member Foo: int -> 'T | |
| type Hoge() = | |
| interface IHoge<unit> with | |
| // compile error | |
| // stdin(18,15): error FS0017: メンバー 'Foo : int -> unit' には、対応する抽象メソッドをオーバーライドする正しい型がありません | |
| member __.Foo(_) = () |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment