D语言/DLang 2.085.1 发布,修复性迭代

2019年4月9日08:40:36 发表评论

D语言(Dlang)是由Digital Mars公司开发的编程语言,起因是为了改进C++。它与C二进制兼容(不完全),可编译为本地码,有GC也可手动管理内存,语法上借鉴多种语言,模板则 在C++的基础上做了相当大的扩充。D 语言既有 C 语言的强大威力,又有 Python 和 Ruby 的开发效率。它是一种集垃圾回收、手工内存操作、契约式设计、高级模板技术、内嵌汇编、内置单元测试、Mixin 风格多继承、类 Java 包管理机制、内置同步机制、内建基本运行时信息的系统级编程语言

D语言/DLang 2.085.1 发布,修复性迭代

本次更新主要是针对上个月发布的 2.085.0 大版本进行更新,修复了 20+ 处问题。

详细更新列表如下:

DMD 编译器回归改进

  1. Bugzilla 19655: DMD generates wrong code for some circular dependencies
  2. Bugzilla 19656: D compiler fails to resolve circular module dependency when modules are compiled separately
  3. Bugzilla 19657: D compiler fails to resolve circular module dependency when modules are compiled together
  4. Bugzilla 19691: ICE on null default value for struct parameter in constructor
  5. Bugzilla 19718: DMD 2.085 changes to gsroa make DCD crashing
  6. Bugzilla 19724: Regression: wrong order of linker arguments, again: -L-l before -L--start-group
  7. Bugzilla 19730: if (auto x) {} isn't properly rejected
  8. Bugzilla 19746: DMD fails to compile some circular dependencies spiced with is (T == super) condition
  9. Bugzilla 19750: [Reg v2.070.2] DMD fails with some circular module refs with Template/Mixin instances

DMD 编译器 BUG 修复

  1. Bugzilla 13285: wrong codegen for destructor call of unnamed struct instance on 64 bit environments
  2. Bugzilla 15875: case of undetected circular reference in function parameter
  3. Bugzilla 17259: ICE with multiple mixin templates containing conflicting ctor declarations
  4. Bugzilla 17285: Segfault when types are used in array literals
  5. Bugzilla 17290: DMD crash due to circular reference in function return type
  6. Bugzilla 19635: -checkaction=context not working with attributes
  7. Bugzilla 19700: [2.085.0-beta.2] Obj-C wrong code overloading selectors and extern(D)
  8. Bugzilla 19717: case of segfault due to undetected forward reference
  9. Bugzilla 19755: Compiler crash
  10. Bugzilla 19757: crash on invalid initializer at CTFE
  11. Bugzilla 19762: ICE on invalid code

Phobos 标准库回归改进

  1. Bugzilla 18818: VariantN has unittests that are compiled into user modules

Phobos 标准库 BUG 修复

  1. Bugzilla 19765: std.algorithm.searching.findAmong doesn't save like it should

DRuntime 运行时修复

  1. Bugzilla 19723: wrong time values in GC.profileStats

©里维斯社,本站推荐使用的主机:阿里云腾讯云

晨会游戏

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: