summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-07-19 19:32:13 +0200
committerAraq <rumpf_a@web.de>2019-07-19 19:32:13 +0200
commit1868cbc44959e04f0455f062793f53426b0ebdf7 (patch)
tree8966d72252229e60e6a14a3342335b750a2fc9b1 /tests
parent5a020d641dde24b1af4705baf5bf7c2517d63b97 (diff)
downloadNim-1868cbc44959e04f0455f062793f53426b0ebdf7.tar.gz
revert the bugfix for #11747 as it really was a new, poorly though-out feature
Diffstat (limited to 'tests')
-rw-r--r--tests/metatype/ttypedesc3.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/metatype/ttypedesc3.nim b/tests/metatype/ttypedesc3.nim
index a90690591..ff6e22718 100644
--- a/tests/metatype/ttypedesc3.nim
+++ b/tests/metatype/ttypedesc3.nim
@@ -40,4 +40,4 @@ type
 
   MyRefType = ref MyType
 
-echo sizeof(MyRefType[])
+echo sizeof(default(MyRefType)[])