Bug 10011 – Wrong JSON "init" property output for class reference initializers

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-04-30T01:34:00Z
Last change time
2013-05-02T11:29:48Z
Keywords
json, pull
Assigned to
andrej.mitrovich
Creator
verylonglogin.reg

Comments

Comment #0 by verylonglogin.reg — 2013-04-30T01:34:17Z
This variable produces invalid UTF-8 sequence in generated JSON file in "init" property thus making the whole file broken: --- const Object c = new Object(); ---
Comment #1 by andrej.mitrovich — 2013-05-02T03:57:38Z
Comment #2 by github-bugzilla — 2013-05-02T10:42:21Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1c1d99f6b6c9a576e867227cff24106e505a6795 Fixes Issue 10011 - Wrong JSON "init" property output for class reference initializers. https://github.com/D-Programming-Language/dmd/commit/3cb9f6af8b4c7e2524439625f2466e25dec3c2d1 Merge pull request #1949 from AndrejMitrovic/Fix10011 Issue 10011 - Wrong JSON "init" property output for class reference initializers.