Merge: No duplicated mclassdefs
authorJean Privat <jean@pryen.org>
Mon, 16 Jun 2014 22:42:43 +0000 (18:42 -0400)
committerJean Privat <jean@pryen.org>
Mon, 16 Jun 2014 22:42:43 +0000 (18:42 -0400)
commit67bf8cb8de5725d0211311db4f10f6ef708df7e4
tree968247cae954a3bb4d126b5899e2761659c8ae71
parent5493586589cf701bebd72f7e18ebb2d9d222cb9a
parentff502ad7429a2332e1fe5cb57ca4e7bfd0e9841c
Merge: No duplicated mclassdefs

This series avoid the creation of multiple mclassdefs for a same class in a same module.

It appended for implicit classes: Object for top-level methods and Sys for top-level main.

The series was more complex than expected because it breaks the symmetry between AClassdef and MClassDef. However, thanks to the separation of the AST and the model, it was sill feasible.

Pull-Request: #503
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>