Bug #39

Ill-typed multiple variable argument

Added by SpiceGuid - about 17 years ago. Updated about 17 years ago.

Status:AssignedStart date:
Priority:NormalDue date:
Assignee:Alain Prouté% Done:

0%

Category:Compiler
Target version:-
Platform: Triage Stage:
Resolution:

Description

May be it's me but i don't see what's wrong with this code:

define String
  hello
    =
  with top   = var((Int32)0),
  with stack = mvar(1,"hello"),
  *stack(*top).

The reported error message is:

Error E022:    A multiple variable may be only applied to an Int32.

      1.  

Internal error in 'src\typetools.c' at line 328.
   Unknown term interpretation head:
   ((anb_read 8390411 local "top" 1 type_Var . $336))

History

#1 Updated by Alain Prouté about 17 years ago

  • Status changed from New to Assigned

This is a bug ! Your code is correct.

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux