Use Variable::NULL with copy

This commit is contained in:
Richard Feldman 2020-01-01 15:07:38 -05:00
parent 69d6a6c7b0
commit 5cb9a4ba2d
3 changed files with 14 additions and 6 deletions

View file

@ -662,7 +662,7 @@ fn register(subs: &mut Subs, rank: Rank, pools: &mut Pools, content: Content) ->
content,
rank,
mark: Mark::NONE,
copy: None,
copy: Variable::NULL,
});
pools.get_mut(rank).push(var);