December 24, 2016 Re: ModuleInfo, factories, and unittesting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 2016-12-23 18:09, Andrei Alexandrescu wrote: > Well clearly some changes in the compiler and/or runtime could bring us > to where we want to be. Yeah, something like RTInfo but for modules. There's already an issue reported for this since a couple of years ago [1]. [1] https://issues.dlang.org/show_bug.cgi?id=10023 -- /Jacob Carlborg |
December 24, 2016 Re: ModuleInfo, factories, and unittesting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On 2016-12-23 16:09, Adam D. Ruppe wrote: > sometimes i confess i want to write a new druntime. maybe i'd call it > "dango" Hehe, druntime is the only part that was shared between Tango and Phobos/druntime for D2. -- /Jacob Carlborg |
December 24, 2016 Re: ModuleInfo, factories, and unittesting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On 2016-12-23 15:20, Adam D. Ruppe wrote: > Wouldn't it just be glorious if that magically printed: > > test.d(4): Assertion failure > (a == b) is false > a = 0 > b = 1 Or if there was a language feature that allowed us to do this in a library, and a bunch of other things. I wonder what that could be ... :) -- /Jacob Carlborg |
December 24, 2016 Re: ModuleInfo, factories, and unittesting | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Saturday, 24 December 2016 at 09:31:42 UTC, Jacob Carlborg wrote: > On 2016-12-23 15:20, Adam D. Ruppe wrote: > >> Wouldn't it just be glorious if that magically printed: >> >> test.d(4): Assertion failure >> (a == b) is false >> a = 0 >> b = 1 > > Or if there was a language feature that allowed us to do this in a library, and a bunch of other things. I wonder what that could be ... :) As no one has mentioned it yet - some ideas are preserved in DIP83: http://wiki.dlang.org/DIP83 |
Copyright © 1999-2021 by the D Language Foundation