Project

General

Profile

Bug #96

RESULT designator not assignable oor basic types in the oberon code

Added by Serge Durmanov 6 months ago.

Status:
New
Priority:
Normal
Category:
Compiler

Description

MODULE Test;

PROCEDURE P0(): SIZE;
BEGIN
    RESULT := 1;    (* forbidden access to result designator / integer value cannot be converted  *)
    RETURN RESULT;    (* OK *)
END P0;

END Test.

Also available in: Atom PDF