Project

General

Profile

Actions

Bug #38

closed

report passing receiver parameter IN to VAR

Added by J. Templ over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/15/2015
Due date:
% Done:

0%

Estimated time:

Description

IN parameters are not allowed to be passed as VAR parameters in Component Pascal.
However, in BB1.6 this rule is not enforced by the compiler for the receiver
parameter of a type-bound procedure call. Several modules in the BB1.6 distribution
violate this rule and need to be changed too.
A proposal to fix this exists in CPC 1.7 rc5.

Reported by Oleg N. Cher & Wenying Luo, 2012-08-09.
Refers to CPC 1.7 rc5 change list number 14.

Actions

Also available in: Atom PDF