Created
December 18, 2013 23:15
-
-
Save v2m/8031551 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 A private() = | |
[<DefaultValue>] | |
val mutable x: string | |
new(x : string) = | |
if x = null then nullArg "x" | |
A() | |
then | |
printfn "x=%s" x | |
type B(x : string) = | |
do if x = null then nullArg "x" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment