Anonymous | Login | Signup for a new account | 12-17-2024 10:47 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003152 | [Quercus] | minor | always | 12-11-08 21:29 | 12-13-08 00:05 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.0 | Product Version | 4.0.0 | ||||
Product Build | |||||||||
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 | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |