`
qiezi
  • 浏览: 491497 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

DMD 0.178发布

    博客分类:
  • D
阅读更多

What's New for D 0.178

Dec 23, 2006

New/Changed Features

  • Implemented Named Return Value Optimization
  • If the first element of an array literal is a static array, it is converted to a dynamic array.
  • Empty ; no longer allowed after conditional statements, see Bugzilla 576.

Bugs Fixed

  • Fixed Bugzilla 39: ArrayMemberInitialization, StructMemberInitializer inconsistencies from dmd's behavior
  • Fixed Bugzilla 40: DecimalFloat spec doesn't match dmd behavior
  • Fixed Bugzilla 238: Cannot initialise const field from foreach loop on associative array
  • Fixed Bugzilla 265: Selective import from renamed import behaves strangely
  • Fixed Bugzilla 576: version.html - ConditionalStatement grammar doesn't make sense
  • Fixed Bugzilla 577: statement.html - NonEmptyStatement grammar lists DebugStatement and VersionStatement, which are not defined
  • Fixed Bugzilla 612: Associative arrays ignore opEquals, contrary to the spec
  • Fixed Bugzilla 630: Obscure, unimplemented features related to in/out contracts
  • Fixed Bugzilla 631: Spelling errors in DMD distribution
  • Fixed Bugzilla 634: writef doesn't work on enums
  • Fixed Bugzilla 635: regression: looping "Error: outer class Outer 'this' needed to 'new' nested class Inner"
  • Fixed Bugzilla 650: Assertion failure: '0' on line 774 in file 'expression.c'
  • Fixed Bugzilla 651: Assertion failure: 'global.errors' on line 2622 in file 'template.c'
  • Fixed Bugzilla 654: Const string member using implicit type inference gives garbage in certain situation
  • Fixed Bugzilla 661: Error using a zero-init struct's init property
  • Fixed Bugzilla 663: Slice assignment does not bounds check when it should
  • Fixed Bugzilla 665: missing functions in std.c.linux.linux
  • Fixed Bugzilla 667: incorrect value for std.socket.SocketShutdown.BOTH
  • Fixed Bugzilla 669: (a == b) misuses opCmp and opEquals
  • Fixed Bugzilla 672: Compiler endless loop with nested class object
  • Fixed Bugzilla 673: ABI as documented is 32 bit specific.. how about 64 bits?
  • Fixed Bugzilla 681: Array -- Implicit type doc updates needed
  • Fixed Bugzilla 682: dmd segfault with vararg template
  • Fixed Bugzilla 683: New: dmd segv, this ain't the same as bug 682
  • Fixed Bugzilla 684: dmd should compile this
  • Fixed Bugzilla 685: dmd assertion failure
  • Fixed Bugzilla 686: [Regression] opCast of a struct or union is called in nonsensical circumstances
  • Fixed Bugzilla 687: DDoc doesn't document anonymous enums
  • Fixed Bugzilla 688: Implicit function template match doesn't work for classes
  • Fixed D.announce/6072
  • Fixed D/45058 items 1, 2 and 4
  • Fixed D.bugs/6300: Assertion failure: '0' on line 704 in file 'expression.c'
  • Fixed c++/5355


感谢Walter的圣诞节礼物。

比较大点的修改是NARO,这个在C++里面早就实现了的,D语言的也只有struct才需要实现这具特性。

Fixed Bugzilla 688: Implicit function template match doesn't work for classes
这一条的情况和我的泛型矩阵类很像,遗憾的是我的代码依旧无法编译通过。
分享到:
评论
8 楼 Liner 2007-05-15  
谢谢各位老大啊,正在学习D中
网络硬盘中的PDF文件很不错哦,我等E盲特别感谢一下先
。。。x
7 楼 heromyth 2007-01-04  
没办法,不出钱的就是那样
6 楼 qiezi 2007-01-03  
网络硬盘:bitworld.ys168.com

请用IE5.0以后版本使用本系统!


...
5 楼 heromyth 2007-01-03  
象征意义大过实际意义 不管怎么样,我还是决定开始D语言手册的翻译工作。我知道以前有人做过,不过那个已经以一段时间了。我会参考它的。不知其它有没有朋友感兴趣一起做呢。人多力量大,我想我一个人也应该可以完成的。不过时间就可能持续很长。大家可以不定期访问我的网络硬盘:bitworld.ys168.com。今天完成了第一个页面的翻译 在寒假里面应该会有更多。
4 楼 qiezi 2007-01-03  
1.0就是个bug修复版。。。目前有太多BUG要修复了
3 楼 heromyth 2007-01-03  
1.0出来了 ,个人觉得很快也会有bug修复版。DMD还需要进一步的发展,才能更加稳定和实用。
2 楼 qiezi 2006-12-26  
昨天有一阵子是访问不了了,后来又恢复正常。
1 楼 ideage 2006-12-25  
D的官方网站访问不了.网通,电信都不行了.唉.

相关推荐

Global site tag (gtag.js) - Google Analytics