issue-#199 compiler trap with SYSTEM.ADR(BasicType)

issue-#199 compiler trap with SYSTEM.ADR(BasicType)

Postby Josef Templ » Sun Jun 16, 2019 9:19 am

I have created issue 199 for a compiler bug reported by luowy in https://forum.blackboxframework.org/viewtopic.php?f=40&t=755.
For the issue see https://redmine.blackboxframework.org/issues/199.

luowy also has proposed a bug fix which looks very reasonable.
I have to check the details, though.

- Josef
User avatar
Josef Templ
 
Posts: 1968
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#199 compiler trap with SYSTEM.ADR(BasicType)

Postby Josef Templ » Sat Jun 22, 2019 8:34 am

here is a bug fix for the reported compiler trap.
It deviates slightly from luowy's version but I think it is simpler and provides a complete check of the rule,
i.e. for all kinds of basic types except pointers.

For the changes see
https://redmine.blackboxframework.org/projects/blackbox/repository/diff?utf8=%E2%9C%93&rev=3a6908866e4aecee1ccfdac47a9c50fdd96df8e1&rev_to=2e02cc7b2893876236b4cc61b6cc5d3dce951a8d

- Josef
User avatar
Josef Templ
 
Posts: 1968
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#199 compiler trap with SYSTEM.ADR(BasicType)

Postby luowy » Mon Jun 24, 2019 3:55 am

elegant!
luowy
 
Posts: 195
Joined: Mon Oct 20, 2014 12:52 pm

Re: issue-#199 compiler trap with SYSTEM.ADR(BasicType)

Postby Josef Templ » Mon Jun 24, 2019 6:12 pm

Thanks, luowy.
From my point of view this issue would be ready for voting.

- Josef
User avatar
Josef Templ
 
Posts: 1968
Joined: Tue Sep 17, 2013 6:50 am


Return to Resolved (Bugs)

Who is online

Users browsing this forum: No registered users and 2 guests