Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Forums
  - IRC
  - Community Discord
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Security Team
  - Donate
  - Sponsors
- Resources
  - Tour
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - run.dlang.io
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

# Change Log: 2.015

Download D 2.015
released Jun 17, 2008

#### New/Changed Features

- Template alias arguments can now be literals.
- Function templates can now deduce the return type if they are declared with auto.
- Non-lvalues are no longer matched to ref and out parameters when overloading.
- Relaxed hidden hijacking detection when hidden function is disjoint from overloading with any other virtual function in the hierarchy.
- Added version identifier D_PIC when -fPIC switch is used.
- Added Constraints to templates.

#### Bugs Fixed

- Bugzilla 1383: Implicit Function Instantiation with typesafe-variadic of delegates doesn't work
- Bugzilla 1559: version statement makes code outside of it disappear
- Bugzilla 1675: "Identifier too long" error with OMF object files
- Bugzilla 1947: ICE (Assertion failure: '0' on statement.c:123) with null mixin
- Bugzilla 1963: -H creates broken headers
- Bugzilla 2098: Outdated docs
- Bugzilla 2099: Text and Sample Code Disagree (non-static local invariant declaration)
- Bugzilla 2112: the type of undefined variable incorrectly assumed to be int
- Bugzilla 2118: Inconsistent use of string vs invariant(char[]) in doc
- Bugzilla 2123: Anonymous class crashes
- Bugzilla 2129: foreach won't work with invariant limits
- Bugzilla 2132: CTFE: can't evaluate ~= at compile time, D2 only.
- Bugzilla 2133: anonymous enum without {} doesn't work as asm value
- Bugzilla 2136: typeof(super(...)) counted as a constructor call
- Bugzilla 2140: static if as final statement with no code causes containing code to be skipped
- Bugzilla 2143: Mixed-in identifier is not recognized by static if
- Bugzilla 2144: 'is' is defined to be the same as '==' for non-class and non-array types, but does not call opEquals
- Bugzilla 2145: Phobos buildsystem unable to build html
- Bugzilla 2146: Multiple execution of 'static this' defined in template
- Bugzilla 2149: Auto variables loose the keyword "auto" in di files generated with -H option.

Copyright © 1999-2023 by the D Language Foundation | Page generated by Ddoc on Fri Sep 15 21:14:12 2023