Project

General

Profile

Bug #57

Failing to pass template constant to other template module

Added by Florian Negele almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Compiler

Description

The following code is rejected by the compiler and yields "error: Multiply defined identifier":

MODULE A (CONST C);
END A.

MODULE B;
IMPORT A := A (0);
END B.

Associated revisions

Revision 9696 (diff)
Added by Florian Negele almost 3 years ago

Improved templated module name assembly

History

#1 Updated by Florian Negele almost 3 years ago

  • Status changed from New to Closed

Fixed in revision r9696.

Also available in: Atom PDF