Removed an unused definition from the linter
Added a check to allocGlobal to ensure we're not just dropping captures