Skip to content

Instantly share code, notes, and snippets.

@v2m
Created December 18, 2013 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v2m/8031551 to your computer and use it in GitHub Desktop.
Save v2m/8031551 to your computer and use it in GitHub Desktop.
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