Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003137 [Quercus] minor always 12-07-08 23:56 12-11-08 13:14
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.2.1
Summary 0003137: Chained assignment won't compile
Description <?php
function zero() {
  $foo = $bar = 0;
}

With the latest Resin Pro, this won't compile:

[23:54:58.522] {resin-16} com.caucho.java.JavaCompileException: .../WEB-INF/work/_quercus/_html/_test/_chained_22dassignment__php.java:52: long cannot be dereferenced
[23:54:58.522] {resin-16} v_foo = (v_bar = 0L).toLong();
[23:54:58.522] {resin-16} ^
[23:54:58.522] {resin-16} 1 error
[23:54:58.522] {resin-16} at com.caucho.java.InternalCompiler.executeInt(InternalCompiler.java:243)
[23:54:58.522] {resin-16} at com.caucho.java.InternalCompiler.compileInt(InternalCompiler.java:96)
[23:54:58.522] {resin-16} at com.caucho.java.AbstractJavaCompiler.run(AbstractJavaCompiler.java:102)
Additional Information
Attached Files

- Relationships

- Notes
(0003599)
nam
12-11-08 13:14

php/3aao
 

- Issue History
Date Modified Username Field Change
12-07-08 23:56 koreth New Issue
12-11-08 13:14 nam Status new => assigned
12-11-08 13:14 nam Assigned To  => nam
12-11-08 13:14 nam Status assigned => closed
12-11-08 13:14 nam Note Added: 0003599
12-11-08 13:14 nam Resolution open => fixed
12-11-08 13:14 nam Fixed in Version  => 4.0.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker