July 19 Learn » Re: Unexpected range assignment behaviour | |||
|---|---|---|---|
| |||
...bug. First, there's an incompatibility between AA value type and the type being assigned... | |||
July 15 Issues » [Issue 4703] Ambiguously designed array/AA literal syntax | |||
|---|---|---|---|
| |||
...CC| |nick@geany.org
Summary|Ambiguously designed array |Ambiguously designed
|syntax |array/AA literal syntax
-- | |||
July 01 Issues » [Issue 16763] Associative array literal inside array or AA literal doesn't work as initializer if variable type is known | |||
|---|---|---|---|
| |||
...AA lit…" fixing this issue: - Fix Bugzilla 16763 - Associative array literal inside array or AA... | |||
June 26 Learn » Re: Why `foo.x.saa.aa` and `foo.y.saa.aa` is the same? `shared_AA.saa` should still be instance variable, not class variable, right? | |||
|---|---|---|---|
| |||
But a compiler warning message will be very useful. | |||
June 26 Learn » Re: Why `foo.x.saa.aa` and `foo.y.saa.aa` is the same? `shared_AA.saa` should still be instance variable, not class variable, right? | |||
|---|---|---|---|
| |||
On Tuesday, 25 June 2024 at 21:13:44 UTC, Nick Treleaven wrote: It is... | |||
June 25 Learn » Re: Why `foo.x.saa.aa` and `foo.y.saa.aa` is the same? `shared_AA.saa` should still be instance variable, not class variable, right? | |||
|---|---|---|---|
| |||
I think the main problem here is that most people come to D from Java... | |||
June 25 Learn » Re: Why `foo.x.saa.aa` and `foo.y.saa.aa` is the same? `shared_AA.saa` should still be instance variable, not class variable, right? | |||
|---|---|---|---|
| |||
...initialized to the same instance of `shared_AA_class`. I think in the next edition... | |||
June 25 Learn » Re: Why `foo.x.saa.aa` and `foo.y.saa.aa` is the same? `shared_AA.saa` should still be instance variable, not class variable, right? | |||
|---|---|---|---|
| |||
That has nothing to do with it. Every type in D has an initialized value... | |||
June 25 Learn » Re: Why `foo.x.saa.aa` and `foo.y.saa.aa` is the same? `shared_AA.saa` should still be instance variable, not class variable, right? | |||
|---|---|---|---|
| |||
It's a bug. | |||
June 25 Learn » Re: Why `foo.x.saa.aa` and `foo.y.saa.aa` is the same? `shared_AA.saa` should still be instance variable, not class variable, right? | |||
|---|---|---|---|
| |||
...shared_aa.cpp
#include <stdio.h>
class shared_AA_class {
public:
int aa;
shared_AA... | |||
Copyright © 1999-2021 by the D Language Foundation