ID:2704045
 
BYOND Version:513
Operating System:Windows 10 Pro 64-bit
Web Browser:Firefox 91.0
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
Using the -o flag to dump the object tree in DM gives wrong xml for lists on subtypes(lists overriding a list of a supertype)

Numbered Steps to Reproduce Problem:
1. Have a list on a subtype
2. Get DM object tree output
3. Sad

Code Snippet (if applicable) to Reproduce Problem:
/obj/test
var/list/L = list("one", "two", "three")

/obj/test/subtype
L = list("a","b","c")


Expected Results:
        <obj file="dmtreeoutput.dm:1">obj
<obj file="dmtreeoutput.dm:1">test
<var file="dmtreeoutput.dm:2">L
<val file="dmtreeoutput.dm:2">
<list>list
<item file="dmtreeoutput.dm:2">"one"</item>
<item file="dmtreeoutput.dm:2">"two"</item>
<item file="dmtreeoutput.dm:2">"three"</item>
</list>
</val>
</var>
<obj file="dmtreeoutput.dm:4">subtype
<var file="dmtreeoutput.dm:5">L
<list>list
<item file="dmtreeoutput.dm:5">"a"</item>
<item file="dmtreeoutput.dm:5">"b"</item>
<item file="dmtreeoutput.dm:5">"c"</item>
</list>
</var>
</obj>
</obj>
</obj>


Actual Results:
        <obj file="dmtreeoutput.dm:1">obj
<obj file="dmtreeoutput.dm:1">test
<var file="dmtreeoutput.dm:2">L
<val file="dmtreeoutput.dm:2">
<list>list
<item file="dmtreeoutput.dm:2">"one"</item>
<item file="dmtreeoutput.dm:2">"two"</item>
<item file="dmtreeoutput.dm:2">"three"</item>
</list>
</val>
</var>
<obj file="dmtreeoutput.dm:4">subtype
<var file="dmtreeoutput.dm:5">L
<val file="dmtreeoutput.dm:5">"a""b""c"</val>
</var>
</obj>
</obj>
</obj>


Does the problem occur:
Every time? Or how often? Ye
In other games? Yes
In other user accounts? Dunno
On other computers? Dunno

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Not sure