summary refs log tree commit diff stats
path: root/tests/dll/nimhcr_0_1.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2020-03-30 18:56:03 +0300
committerAndreas Rumpf <rumpf_a@web.de>2020-04-01 19:38:44 +0200
commitce9a4ed124d798d0287a62e4700a32f1d15878c9 (patch)
tree73a31457060d51b283be407c5cf37af20b6b0b1e /tests/dll/nimhcr_0_1.nim
parentd374c6373bed4d6807ff70b6179328e79fbe1ac8 (diff)
downloadNim-ce9a4ed124d798d0287a62e4700a32f1d15878c9.tar.gz
Replace tfHasRequiresInit with a more accurate mechanism
The new mechanism can deal with more complex scenarios such as
not nil field appearing in a non-default case object branch or
a field within a generic object that may depend on a when branch.

The commit also plugs another hole: the user is no longer able
to create illegal default values through seq.setLen(N).
Diffstat (limited to 'tests/dll/nimhcr_0_1.nim')
0 files changed, 0 insertions, 0 deletions