https://issues.dlang.org/show_bug.cgi?id=22283
--- Comment #2 from Tejas_Garhewal <[email protected]> --- (In reply to Tejas_Garhewal from comment #1) > (In reply to Temtaime from comment #0) > > void main() > > { > > try > > { > > } > > catch(Throwable e) > > e.toString; > > } > > > > compile with -preview=in -inline: > > > > /dlang/dmd/linux/bin64/../../src/druntime/import/object.d(2405): Error: none > > of the overloads of `toString` are callable using argument types `(void)`, > > candidates are: > > /dlang/dmd/linux/bin64/../../src/druntime/import/object.d(2402): > > `object.Throwable.toString()` > > /dlang/dmd/linux/bin64/../../src/druntime/import/object.d(2415): > > `object.Throwable.toString(scope void delegate(in char[]) sink)` > > Well, it's not working for me even when I remove preview=in > Oh, and -inline makes no difference for me. --
