#19 You can create subclass from nonexistent superclass

Відкрити
8 роки тому відкрито nero · 0 коментарів
Admin of lolg.it відкоментовано 8 роки тому

Originally at 2014-07-10T06:16:22Z by Herbert Vojčík

Issue by herby Sunday Jun 08, 2014 at 17:05 GMT Originally opened as https://github.com/amber-smalltalk/amber/issues/1024


For example FooBar subclass: #FooBaz ... is accepted and subclass of nil is created (and then Helios fails on the new class not understanding #heliosClass).

When creating classes, it should be checked that the superclass actually exists (or is spelled as nil to create subclass of nil).

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Originally at 2014-07-10T06:16:22Z by Herbert Vojčík <a href="https://github.com/herby"><img src="https://avatars.githubusercontent.com/u/222129?" align="left" width="96" height="96" hspace="10"></img></a> **Issue by [herby](https://github.com/herby)** _Sunday Jun 08, 2014 at 17:05 GMT_ _Originally opened as https://github.com/amber-smalltalk/amber/issues/1024_ ---- For example `FooBar subclass: #FooBaz ...` is accepted and subclass of `nil` is created (and then Helios fails on the new class not understanding #heliosClass). When creating classes, it should be checked that the superclass actually exists (or is spelled as `nil` to create subclass of `nil`). <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3053445-you-can-create-subclass-from-nonexistent-superclass?utm_campaign=plugin&utm_content=tracker%2F3968890&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F3968890&utm_medium=issues&utm_source=github). </bountysource-plugin>
Підпишіться щоб приєднатися до обговорення.
Без Мітки
Етап відсутній
Немає відповідального
1 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.