a linking error very hard to understand and solve...

Ali Çehreli acehreli at yahoo.com
Thu Nov 2 19:03:53 UTC 2017


On 11/02/2017 05:54 AM, Jean-Yves Vion-Dury wrote:
> On Thursday, 2 November 2017 at 11:54:51 UTC, Biotronic wrote:
> 
>>
>> Is LRMSFiber the same type in all these cases? That is, do you have a 
>> type called LRMSFiber in more than one file?
>>
> 
> Yes, it appears first in an interface (inside a module/file) definition 
> and second in a class definition (inside another module/file)... does it 
> matter ?

 From the point of view of the type system, it's a coincidence that they 
have the same name but they are different types.

Ali


More information about the Digitalmars-d mailing list