Skip to content
Snippets Groups Projects
Commit 85c69ffc authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Compiler: Fixed over optimization in __INIT().

Constant expressions that have external dependencies that
evaluate to zero should not be removed, since they may
get overloaded later.

Also fixes forward refering constants like in the Calendar module:

  program Foo = cFoo;
  class cFoo {
    // ...
  }

Fixes [LysLysKOM 20361227]/Pike mailinglist 13656.

Thanks to Chris Angelico <rosuav@gmail.com> for the report.
parent 8a9c948b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment