diff --git a/compiler/sempass2.nim b/compiler/sempass2.nim index a626bd2224..e8a3dc8475 100644 --- a/compiler/sempass2.nim +++ b/compiler/sempass2.nim @@ -1059,8 +1059,7 @@ proc track(tracked: PEffects, n: PNode) = # bug #15038: ensure consistency if n.typ == nil or (not hasDestructor(n.typ) and sameType(n.typ, n.sym.typ)): n.typ = n.sym.typ of nkHiddenAddr, nkAddr: - if n[0].kind == nkSym and isLocalSym(tracked, n[0].sym) and - n.typ.kind notin {tyVar, tyLent}: + if n[0].kind == nkSym and isLocalSym(tracked, n[0].sym): useVarNoInitCheck(tracked, n[0], n[0].sym) else: track(tracked, n[0]) diff --git a/testament/important_packages.nim b/testament/important_packages.nim index dc9255d051..32ab5b6406 100644 --- a/testament/important_packages.nim +++ b/testament/important_packages.nim @@ -60,7 +60,6 @@ pkg "confutils", "nimble install -y toml_serialization json_serialization unitte pkg "constantine", "nimble make_lib" pkg "criterion" pkg "dashing", "nim c tests/functional.nim" -pkg "datamancer", url = "https://github.com/nim-lang/Datamancer" pkg "delaunay" pkg "docopt" pkg "dotenv"