Crash when trying to resolve type of untyped var.