namer can resolve struct with simple declaration