nitg-s: avoid `flatten_class_hierarchy` on intern method static call
authorJean Privat <jean@pryen.org>
Tue, 23 Jul 2013 16:11:08 +0000 (12:11 -0400)
committerJean Privat <jean@pryen.org>
Tue, 23 Jul 2013 16:11:08 +0000 (12:11 -0400)
commit6a06bfd5a12b5bfef8585a50626b701ece8c8210
treed0855e960c99b27a18802c15d60834cd31b5d448
parent6496be04be7e96ae5263ee623e6d1b568b165907
nitg-s: avoid `flatten_class_hierarchy` on intern method static call

just do the lookup on the realmainmodule to avoid flatten on various
mmodules. since the method is intern, the result is the same anyway.

Signed-off-by: Jean Privat <jean@pryen.org>
src/abstract_compiler.nit
src/separate_compiler.nit