Project

General

Profile

Actions

Bug #39

open

Ill-typed multiple variable argument

Bug #39: Ill-typed multiple variable argument

Added by SpiceGuid - over 18 years ago. Updated over 18 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
Compiler
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform:
Resolution:
Triage Stage:

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))

Updated by Alain Prouté over 18 years ago Actions #1

  • Status changed from New to Assigned

This is a bug ! Your code is correct.

Actions

Also available in: PDF Atom