Skip to content

[BUG] vDict Fails to Return Any Values. #28

Description

@RapperGF
  • NxScript version: ?.?.?
  • Haxe version: 4.3.x
  • Branch: GitHub (dev)
  • Using DCE: Yes
  • Affected targets:
    All.

Checklist

  • [x ] I tried reproducing this issue using the NxScript parser
  • This issue is parser-specific (skip the above)

What is this related to?

  • Parsers
  • Compiler
  • [ x] Runtime (VM / bytecode execution)
  • Interpreter
  • Performance
  • I'm not sure yet

Code snippet reproducing the issue

var test = {alpha:1};
trace(test);
trace(interp.vm.valueToHaxe(interp.globals.get("test")));

Observed behavior

Traces fine but can not return any value to host.

source/ScriptBenchmark.hx:57: null

Returns null on haxe.


Expected behavior

Returns {Alpha: 1} on host.


Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions