Bug #199

compiler trap with SYSTEM.ADR(BasicType)

Added by J. Templ 5 months ago. Updated 5 months ago.

Status:ClosedStart date:06/16/2019
Priority:NormalDue date:
Assignee:J. Templ% Done:

0%

Category:-
Target version:1.7.2
Forum topic:https://forum.blackboxframework.org/viewtopic.php?f=40&t=756

Description

The following erroneous module causes a compiler trap because it tries to access the type descriptor of a basic type, which does not exist.
MODULE TestAdr;
IMPORT SYSTEM;
PROCEDURE Adr;
BEGIN ASSERT(~ODD(SYSTEM.ADR(INTEGER)));
END Adr;
END TestAdr.

Reported by luowy on 2019-04-28

Associated revisions

Revision 3a690886
Added by J. Templ 5 months ago

fixing a compiler trap with SYSTEM.ADR. Refs: #199.

Signed-off-by: Josef Templ <>

Revision 8bb9a680
Added by R. Campbell 5 months ago

Merge pull request #214 from BlackBoxCenter/issue-#199

fixing a compiler trap with SYSTEM.ADR. Refs: #199.

History

#1 Updated by J. Templ 5 months ago

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

#2 Updated by J. Templ 5 months ago

  • Description updated (diff)

#3 Updated by R. Campbell 5 months ago

  • Status changed from New to Closed

Also available in: Atom PDF