Skip to content

Actual parity issues from the BYOND tests #2427

@amylizzle

Description

@amylizzle
  • TEST FAILED: Tests/Operators/Division.dm -- appears to be an actual parity error 10/null should be 10
  • TEST FAILED: Tests/Operators/valid_and_null.dm -- runtime error: Undefined operation: 2 / null
  • TEST FAILED: Tests/List/ListFind.dm -- Tests/List/ListFind.dm:15:Assertion Failed: L.Find("b", 1, 2) == 2
  • TEST FAILED: Tests/Sleeping/New.dm -- runtime error: Tests/Sleeping/New.dm:5:Assertion Failed: call_number == num
  • TEST FAILED: Tests/Math/minmax.dm -- runtime error: Tests/Math/minmax.dm:8:Assertion Failed: min(0, null) == null -- this used to return null, as of 516 it returns 0 https://www.byond.com/forum/post/2983357
  • TEST FAILED: Tests/Text/Splittext.dm -- runtime error: Tests/Text/Splittext.dm:9:Assertion Failed: test2 ~= test2_expected
  • TEST FAILED: Tests/Text/HoleEmbeddedExpression.dm -- compile error: Tests/Text/HoleEmbeddedExpression.dm:3:error: "TEST": extra argument - parity break is us handling [ ]
  • TEST FAILED: Tests/Builtins/Max.dm -- runtime error: Tests/Builtins/Max.dm:16:Assertion Failed: max("", null) == "" (maybe related to https://www.byond.com/forum/post/2983357)
  • TEST FAILED: Tests/Savefile/ExportText.dm -- runtime error: Tests/Savefile/ExportText.dm:27:Assertion Failed: F.dir ~= list("dir","dir2","dir3","dir4","dir5","dir6","dir7","dirIcon","list") -- order of elements is different to OD, seems to have always been?
  • TEST FAILED: Tests/Builtins/params2list.dm -- runtime error: Tests/Builtins/params2list.dm:6:Assertion Failed: params2list("a=1;a=2") ~= list(a="2") -- params2list with duplicate key now does key=list(value1, value2)
  • TEST FAILED: Tests/Builtins/world_config.dm -- runtime error: Tests/Builtins/world_config.dm:20:Assertion Failed: world.GetConfig("env", env_var) == null -- should return empty string

Metadata

Metadata

Assignees

No one assigned

    Labels

    CompilerInvolves the OpenDream compilerRuntimeInvolves the OpenDream server/runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions