Static variable named import are correctly resolved

The type of the symbol is not resolved properly in case of primitive types.