OpenDreamProject / OpenDream

A project for running games made in the DM programming language
MIT License
210 stars 112 forks source link

Associative lists in DMM files result in a compile error #1201

Open pali6 opened 1 year ago

pali6 commented 1 year ago

Related to #1198

Example

/obj/foobar{
    some_var = list(1=2)
},

results in Failed to serialize value to json (DMCompiler.DM.Expressions.List).

Non-associative lists don't have this issue.

ike709 commented 1 year ago

Fixing #473 would fix this.