Search

February 14, 2020
General »
...field1: 100;
    int field4: 5;

    AnotherType {
        field1: outer.field4 + 9;
    }
}

Lowers to something like:
struct...
February 14, 2020
Learn »
...then FOUND
			//   is not visible to the outer loop
			static if (!__traits(compiles, mixin(format...
February 13, 2020
Issues »
https://issues.dlang.org/show_bug.cgi?id=16215

--- Comment #5 from Walter Bright <bugzilla...
February 13, 2020
Issues »
https://issues.dlang.org/show_bug.cgi?id=16215

Walter Bright <bugzilla@digitalmars.com> changed...
February 07, 2020
General »
...doesn't reference any variables in the outer function.

Yes, but the compiler could infer...
February 06, 2020
General »
...from inner to outer. All imported modules count as a further outer scope. See information...
February 02, 2020
Learn »
...or the S struct itself inside the outer S template?

This is the main reason...
January 30, 2020
Learn »
...It seems somewhat arbitrary - note that inner/outer functions does not have this limitation - the...
January 16, 2020
General »
...where the storage class passed from the outer scope to the struct/class scope is...
January 05, 2020
General »
...throw keyword in every other line. Imagine outer functions of some algorithm where the inner...
18 19 20 21 22 23 24 25 26 27 28 29
Next ›   Last »