Re: .get refuses to work on associative array

2020-04-15 Thread p.shkadzko via Digitalmars-d-learn
On Wednesday, 15 April 2020 at 22:09:32 UTC, H. S. Teoh wrote: On Wed, Apr 15, 2020 at 09:46:58PM +, p.shkadzko via Digitalmars-d-learn wrote: [...] Are you sure the error is on the line you indicated? The error message claims that your argument types are (double[string], string, string)

Re: .get refuses to work on associative array

2020-04-15 Thread bauss via Digitalmars-d-learn
On Wednesday, 15 April 2020 at 22:09:32 UTC, H. S. Teoh wrote: On Wed, Apr 15, 2020 at 09:46:58PM +, p.shkadzko via Digitalmars-d-learn wrote: I am quite confused by the following exception during dub build: > dub build --single demo.d --compiler=ldc2 --force Performing "debug" build using

Re: .get refuses to work on associative array

2020-04-15 Thread H. S. Teoh via Digitalmars-d-learn
On Wed, Apr 15, 2020 at 09:46:58PM +, p.shkadzko via Digitalmars-d-learn wrote: > I am quite confused by the following exception during dub build: > > > dub build --single demo.d --compiler=ldc2 --force > Performing "debug" build using ldc2 for x86_64. > demo ~master: building configuration "

.get refuses to work on associative array

2020-04-15 Thread p.shkadzko via Digitalmars-d-learn
I am quite confused by the following exception during dub build: dub build --single demo.d --compiler=ldc2 --force Performing "debug" build using ldc2 for x86_64. demo ~master: building configuration "application"... demo.d(221,20): Error: template object.get cannot deduce function from argume