May 03 Issues » [Issue 24535] New: Accepts Invalid: goto can skip declarations if they're labelled | |||
|---|---|---|---|
| |||
...z;
}
void f2(){ //compiles fine
int x;
goto Label;
Dummy:
int y;
Label:
int z;
}
-- | |||
May 03 Issues » [Issue 24534] New: Having a label on a declaration makes it possible to skip it with goto | |||
|---|---|---|---|
| |||
...runs:
---
void main()
{
int x;
goto Label;
Dummy:
int y;
Label:
int z;
import std... | |||
May 03 Learn » Goto skipping declarations | |||
|---|---|---|---|
| |||
...z;
}
void f2(){ //compiles fine
int x;
goto Label;
Dummy:
int y;
Label:
int z;
}
``` | |||
April 06 DIP Ideas » Re: statement unittest | |||
|---|---|---|---|
| |||
...top level it would probably need a dummy context and a way to be run... | |||
April 01 Learn » Dub generated a visuald project for me that includes pegged + dqt (Qt widgets). Basic linking error fix? | |||
|---|---|---|---|
| |||
...Desktop\Code\StateMachine\D--\.dub\obj\debug\dummy\d--\d--.buildlog.html" ========== Build: 0 succeeded... | |||
March 30 Issues » [Issue 24469] non-constant nested delegate literal expression - Error on delegates causing memory corruption | |||
|---|---|---|---|
| |||
...ExistenceChecker makeExistenceChecker(string gemName)
{
return ExistenceChecker(() => gemName == "dummy");
}
auto checker = makeExistenceChecker("test"); // => invalid non-constant... | |||
March 21 General » This one simple trick allows D programmer use llama.cpp, rust programmers hate him! | |||
|---|---|---|---|
| |||
...to make bindings anymore, just make a dummy C file with single include and start... | |||
March 08 Issues » [Issue 24432] New: Array dup ignores copy constructor with qualified argument | |||
|---|---|---|---|
| |||
...program fails to compile:
---
struct S
{
int* dummy;
this(ref immutable S) {}
}
void main()
{
immutable... | |||
March 01 Issues » [Issue 24425] New: @standalone attribute should be usable on thread-local static constructors | |||
|---|---|---|---|
| |||
...used, but I would imagine constructing a "dummy" moduleinfo that contains only standalone ctors/dtors... | |||
January 22, 2024 Issues » [Issue 24351] New: Cannot format `void[]` at compile time | |||
|---|---|---|---|
| |||
...trying to call a regular `formattedWrite` with dummy arguments at compile time. This fails because... | |||
Copyright © 1999-2021 by the D Language Foundation