Project

General

Profile

Actions

Bug #165

closed

adding a check for passing guarded function result as VAR parameter

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

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
07/12/2017
Due date:
% Done:

0%

Estimated time:

Description

If a function returns a pointer and that result is guarded to some extended type it can be passed as a VAR parameter. This leads to an illegal instruction TRAP at runtime. The compiler should report an error in such a case. For a test case see https://forum.oberoncore.ru/viewtopic.php?f=127&t=6081 .

Reported by Ilya Ermakov of oberoncore, 2017-07-07.

Actions #1

Updated by R. Campbell about 8 years ago

  • Forum topic set to https://forum.blackboxframework.org/viewtopic.php?f=40&t=645
Actions #2

Updated by R. Campbell about 8 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF