all code compiles, resolver does not find reference types