Port #10401: Fix include
and with constraints
handling of "ghost" components #220
Open
Description
From the Changelog:
- #6654, #9774, #10401: make `include` and with `constraints` handle correctly
the ghost components of signatures. For instance, in
include struct class c = object end end type c
the type `c` shadows the `class c` to avoid shadowing only the ghost type
c introduced by the class.
(Florian Angeletti, report by Eduardo Rafael, review by Gabriel Scherer)