https://issues.dlang.org/show_bug.cgi?id=15138

Marc Schütz <schue...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Windows                     |All

--- Comment #4 from Marc Schütz <schue...@gmx.net> ---
Thanks, I can reproduce it now. Works in 2.068.1, broken in 2.068.2 and master.

dub.sdl:
name "aaa"
description "A minimal D application."
copyright "Copyright © 2015, marc"
authors "marc"
dependency "std_data_json" version="~>0.17.0"

source/app.d:
import stdx.data.json;

void main()
{
  string str = `{"a": true, "b": "test"}`;
  auto v = parseJSONValue(str);

  // The following line causes the problem in 2.068.2
  auto obj = v.get!(JSONValue[string]);
}

# dub test --force
core.exception.AssertError@dtemplate.d(6389): Assertion failure

Digger points to this PR:
https://github.com/D-Programming-Language/dmd/pull/5055

--

Reply via email to