dlangBugzillaToGithub

Results 369 comments of dlangBugzillaToGithub

#### bugzilla (@WalterBright) commented on 2024-11-10T21:34:15Z ````markdown Let's rewrite: class MyClass { void doSomething(); void myMethod() @nogc { acceptsCallback((){ doSomething(); }); } } to make visible what is happening. class...

#### turkeyman commented on 2024-11-11T01:55:16Z ````markdown I think you've completely missed the point... Yes, me code DOES squirrel away the address of func, that is literally the point of this...

#### alphaglosined commented on 2024-11-11T02:35:00Z ````markdown Okay now it starts to make sense what you are wanting. If the closure's layout is a pointer in size or less you do...

#### turkeyman commented on 2024-11-11T02:38:17Z ````markdown I promise you it made sense from the start ;) ````

#### turkeyman commented on 2024-11-11T03:25:05Z ````markdown This is a language thing; GDC/LDC have nothing to say about this. The frontend implements this, it's semantic to detect if a closure only...

#### alphaglosined commented on 2024-11-11T03:33:47Z ````markdown I renamed it to translate it into compiler speak. The ``@nogc`` aspect has nothing to do with the enhancement. As for ldc/gdc, yes it...

#### turkeyman commented on 2024-11-11T07:29:30Z ````markdown There is no closure creation when this case is detected. @nogc does have something to do with the enhancement, because the enhancement will make...

#### zero commented on 2024-11-14T20:34:09Z ````markdown Created attachment 1923 Very crude patch, just to pin point the relevant code path. I made a whack a mole (literally) attempt on this...

#### bugzilla (@WalterBright) commented on 2014-05-04T00:02:09Z ````markdown See also https://issues.dlang.org/show_bug.cgi?id=12442 ````

#### forestix commented on 2024-03-21T04:10:05Z ````markdown Created attachment 1912 test code ````