Page 1 of 1

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

PostPosted: Sun Jun 16, 2019 9:19 am
by Josef Templ
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

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

PostPosted: Sat Jun 22, 2019 8:34 am
by Josef Templ
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

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

PostPosted: Mon Jun 24, 2019 3:55 am
by luowy
elegant!

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

PostPosted: Mon Jun 24, 2019 6:12 pm
by Josef Templ
Thanks, luowy.
From my point of view this issue would be ready for voting.

- Josef