X-Git-Url: http://nitlanguage.org diff --git a/src/compiling/table_computation.nit b/src/compiling/table_computation.nit index 16e7a39..fc50b9d 100644 --- a/src/compiling/table_computation.nit +++ b/src/compiling/table_computation.nit @@ -165,6 +165,7 @@ redef class Program ctab.add(new TableEltClassSelfId) ctab.add(new TableEltClassObjectSize) + ctab.add(new TableEltClassSelfName) itab.add(new TableEltVftPointer) itab.add(new TableEltObjectId) @@ -549,6 +550,12 @@ class TableEltClassSelfId redef fun is_related_to(c) do return true end +# The element that represent the class name +class TableEltClassSelfName + super TableElt + redef fun is_related_to(c) do return true +end + # The element that represent the Object Size class TableEltClassObjectSize super TableElt