November 04, 2011 [dmd-internals] [D-Programming-Language/dmd] 18d5e1: Make object.Error known to the compiler | ||||
---|---|---|---|---|
| ||||
Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 18d5e197c84037ac9f1eb7e6667f79e05c5ad156 https://github.com/D-Programming-Language/dmd/commit/18d5e197c84037ac9f1eb7e6667f79e05c5ad156 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-11-04 (Fri, 04 Nov 2011) Changed paths: M src/aggregate.h M src/class.c M src/idgen.c Log Message: ----------- Make object.Error known to the compiler Since it is the only exception base class which chains, the compiler needs to know about it (on D2, it actually *doesn't* need to know about Exception!) Commit: 345860864cc605b1061ef997465cb5d878da5ce7 https://github.com/D-Programming-Language/dmd/commit/345860864cc605b1061ef997465cb5d878da5ce7 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-11-04 (Fri, 04 Nov 2011) Changed paths: M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- CTFE classes aren't reference types They are actually values. Fixes a bug with member classes. Commit: 7db7b8e1d7ccf1a686e247a9a5345bf787c56c8f https://github.com/D-Programming-Language/dmd/commit/7db7b8e1d7ccf1a686e247a9a5345bf787c56c8f Author: Don Clugston <dclugston at googlemail.com> Date: 2011-11-04 (Fri, 04 Nov 2011) Changed paths: M src/interpret.c Log Message: ----------- CTFE: Implement exceptions in CTFE Full support for exceptions in CTFE, including exception chaining as described in TDPL. Requires a trivial change to object.di in druntime. Commit: 65dc204cace38d68f3d62837e643026d44c7f22e https://github.com/D-Programming-Language/dmd/commit/65dc204cace38d68f3d62837e643026d44c7f22e Author: Don Clugston <dclugston at googlemail.com> Date: 2011-11-04 (Fri, 04 Nov 2011) Changed paths: M src/interpret.c Log Message: ----------- Nobody tosses a dwarf Commit: c78fd22de41058b8472a5c4db4e0c647b4df948b https://github.com/D-Programming-Language/dmd/commit/c78fd22de41058b8472a5c4db4e0c647b4df948b Author: Don Clugston <dclugston at googlemail.com> Date: 2011-11-04 (Fri, 04 Nov 2011) Changed paths: M test/compilable/interpret3.d Log Message: ----------- Tests for CTFE exception chaining Includes CTFE versions of all extant tests in the test suite Commit: b80eb5fc5b13316a5953ad9a8666fadd58394970 https://github.com/D-Programming-Language/dmd/commit/b80eb5fc5b13316a5953ad9a8666fadd58394970 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-11-04 (Fri, 04 Nov 2011) Changed paths: M src/interpret.c Log Message: ----------- CTFE: Improve error message for uncaught exceptions Commit: c163cb47069cd46cf80a7baf67746349350361e1 https://github.com/D-Programming-Language/dmd/commit/c163cb47069cd46cf80a7baf67746349350361e1 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-11-04 (Fri, 04 Nov 2011) Changed paths: M src/interpret.c Log Message: ----------- CTFE: Error message for null class dereference Rather than simply saying it is "not implemented". Commit: 37b459f0cde1124792c3edd68fbdef9dcdfc6e5d https://github.com/D-Programming-Language/dmd/commit/37b459f0cde1124792c3edd68fbdef9dcdfc6e5d Author: Don Clugston <dclugston at googlemail.com> Date: 2011-11-04 (Fri, 04 Nov 2011) Changed paths: M src/interpret.c Log Message: ----------- CTFE: must catch the _original_ type Not the type that was in the ThrowStatement. Commit: 59c6c7d1687712bee50cece586735b134b606c79 https://github.com/D-Programming-Language/dmd/commit/59c6c7d1687712bee50cece586735b134b606c79 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-11-04 (Fri, 04 Nov 2011) Changed paths: M src/interpret.c Log Message: ----------- CTFE: Fix error message for scope guards Scope guards generate throw statements with no location. Commit: cc7b8c53aa58293d805a9606c8c0207c6cd40489 https://github.com/D-Programming-Language/dmd/commit/cc7b8c53aa58293d805a9606c8c0207c6cd40489 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-11-04 (Fri, 04 Nov 2011) Changed paths: M src/interpret.c Log Message: ----------- CTFE: Fix potential segfault I don't have a situation where this actually does segfault, but it's better to be safe. Commit: c0b26683e4e668581424e611105599ce8ab52592 https://github.com/D-Programming-Language/dmd/commit/c0b26683e4e668581424e611105599ce8ab52592 Author: Walter Bright <walter at walterbright.com> Date: 2011-11-04 (Fri, 04 Nov 2011) Changed paths: M src/aggregate.h M src/class.c M src/idgen.c M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Merge pull request #494 from donc/ctfeclass Implement exceptions in CTFE Compare: https://github.com/D-Programming-Language/dmd/compare/884001d...c0b2668 |
Copyright © 1999-2021 by the D Language Foundation