fix computation of type traits when variables other than scan vars are present
1 file changed