05-01-2017, 03:27 PM
Changed it
Works correctly now.
Code:
-- Bail out, if is_parameter is true and it's a const &
if self.is_parameter and string.match(self.type, "const") and self.ret == "&" then
return 0
end
Works correctly now.