Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3152 | minor | always | 12-11-08 21:29 | 12-13-08 00:05 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.0 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|||||
Summary: | 0003152: Postincrement in method call fails to compile | ||||
Description: |
This doesn't seem to happen in a trivial test case, but this method in one of our classes: protected function cb_IDENTIFIER($token) { $i = 0; while ($prev = $this->prev($i++)) { if (!isset($this->JUNK[$prev->type])) { break; } } if ($prev && ($prev->type == 'PERIOD')) { $token->type = 'PROPERTY'; } else if (isset($this->KEYWORDS[$token->value])) { $token->type = 'KEYWORD'; } return $token; } fails to compile with the latest Resin Pro code. [21:19:07.184] {resin-19} com.caucho.java.JavaCompileException: ...__php.java:1828: unexpected type [21:19:07.184] {resin-19} required: variable [21:19:07.184] {resin-19} found : value [21:19:07.184] {resin-19} while (_v[si_prev_2].set(q_this.callMethod(env, 48366030, _qc_prev, 4, LongValue.create((_v[si_i_3].toLong()++))).copyReturn()).toBoolean()) { |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|