VRL-Studio / VRL

Visual Reflection Library
http://vrl.mihosoft.eu
29 stars 18 forks source link

Constructor call can not be re-added #46

Closed bsumirak closed 8 years ago

bsumirak commented 9 years ago

Whenever a method with the annotation "initalizer=true" is added in the visual representation of an object the addition of further methods with the same annotation is blocked. So far, so good. If you accidentally try to add the same initializer method twice, however, then remove the method and try to add it again, this does not work. The init method is then effectively in-addable.

Try out this class: ctorbug png

(1) Create an instance. (2) Click on the "add" button twice. (3) Remove the constructor method. (4) Try to add it again using the "add" button --> failure.