OpenClonk Bugtracker - OpenClonk
View Issue Details
0001777OpenClonkEngine - C4Scriptpublic2016-07-04 20:512018-01-20 14:28
Assigned ToZapper 
PlatformOSOS Version
Product Version 
Target Version8.1Fixed in Version8.0 
Summary0001777: The array returned by GetProperties contains a property multiple times if it's defined in the proplist and it's prototype
DescriptionGetProperties(pl) currently returns an array containing all properties of pl plus the ones defined in its prototype or its prototype's prototype (and so on).

This is probably not intended.

It has been mentioned in the forums earlier (;hl=getproperties)
Steps To ReproduceGetProperties({Prototype={a=1}, a=1}) / see the referenced forum post
TagsNo tags attached.
Attached Files

2018-01-20 14:28

Issue History
2016-07-04 20:51FlintiNew Issue
2017-08-05 13:58MaikelTarget Version => 8.0
2017-08-20 12:02ZapperTarget Version8.0 => 8.1
2018-01-20 14:28LuchsAssigned To => Zapper
2018-01-20 14:28LuchsStatusnew => resolved
2018-01-20 14:28LuchsResolutionopen => fixed
2018-01-20 14:28LuchsFixed in Version => 8.0
2018-01-20 14:28LuchsNote Added: 0006087