Bug #38

report passing receiver parameter IN to VAR

Added by J. Templ over 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:04/15/2015
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7
Forum topic:

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.

Associated revisions

Revision 7e07df02
Added by J. Templ about 4 years ago

report passing receiver parameter IN to VAR. Refs: #38.
Changes as proposed in CPC 1.7 rc5 plus docu for Meta adapted.

Signed-off-by: Josef Templ <>

Revision d0f8eb5f
Added by J. Templ about 4 years ago

Merge pull request #27 from BlackBoxCenter/issue-#38

report passing receiver parameter IN to VAR. Refs: #38.

Revision f45c1d1f
Added by J. Templ about 3 years ago

using IN for receivers avoids many incompatibilities with 1.6. Refs: #38.
In addition, changes in DevDependencies and StdCoder due to issue 38 can be reverted.

Signed-off-by: Josef Templ <>

History

#1 Updated by J. Templ over 4 years ago

  • Description updated (diff)

#2 Updated by J. Templ about 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF