[Issue 11447] Closure provide bogus values

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 28 21:21:25 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11447


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> 2013-12-28 21:21:22 PST ---
I can't get this to even link on Linux, the result is:

a.o:(.tbss+0x0): multiple definition of
`_D1a18TemplateInstancier27instanciateFromResolvedArgsMFC1a1AZv13gladeulfeurahC1a1A'
foo.o:(.tbss+0x0): first defined here
a.o: In function
`_D1a18TemplateInstancier27instanciateFromResolvedArgsMFC1a1AZv':
/home/walter/cbx/mars/a.d:7: multiple definition of
`_D1a18TemplateInstancier27instanciateFromResolvedArgsMFC1a1AZv'
foo.o:/home/walter/cbx/mars/a.d:7: first defined here
collect2: ld returned 1 exit status
--- errorlevel 1

The program compiles and runs without error on Windows.

BTW, is it possible for you to simplify the example code? I find it so
convoluted as to be completely baffling.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list