BugFix in spec parsing
When a type declaration used a variable and a spec used the same variable name, the former was overwritten