Skip to content

Commit

Permalink
add test for parenthesized assignment (#739)
Browse files Browse the repository at this point in the history
Ref: #738
  • Loading branch information
omsmith committed Apr 9, 2021
1 parent 076dc32 commit 9265b92
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,15 @@ public SomeClassWithConstructor7( U you ) {
Tee = you;
}
}

[Immutable]
public sealed class SomeClassWithConstructor8 {
public readonly RegularInterface m_interface = new Good();

public SomeClassWithConstructor8() {
(m_interface) = /* NonImmutableTypeHeldByImmutable(class, SpecTests.Types.Bad, (or [ImmutableBaseClass])) */ new Bad() /**/;
}
}
#endregion


Expand Down

0 comments on commit 9265b92

Please sign in to comment.