Skip to content

Instantly share code, notes, and snippets.

@stdray
Created January 12, 2015 14:48
Show Gist options
  • Save stdray/b605aaf9508806f4b1e1 to your computer and use it in GitHub Desktop.
Save stdray/b605aaf9508806f4b1e1 to your computer and use it in GitHub Desktop.
def _N_initializedObject_5972 = entity();
_ =
{
def _N_initializedObject_5973 = _N_initializedObject_5972.Foo;
_ =
{
def _N_initializedObject_5974 = if (Object.ReferenceEquals(_N_initializedObject_5973.Baz, null)) Combinators.entity(); else _N_initializedObject_5973.Baz;
_N_initializedObject_5974.Age = 3;
_N_initializedObject_5974
};
_N_initializedObject_5973
};
_N_initializedObject_5972
}
class Baz { public Age : int { get; set } }
class Foo { public Baz : Baz { get; set } }
class Bar { public Foo : Foo { get; set } }
module Bug1
public Test() : Bar
entity() <-
Foo <<-
Baz <-
Age = 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment