get 'extends' info automatically from source code (bug in 0.8.1, 0.8.2)