Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003444 [Quercus] major always 04-14-09 18:51 04-15-09 00:07
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 4.0.0
Summary 0003444: Compile failure when return statements are all inside switch statement
Description <?php
function foo() {
  switch (1) {
  default:
    return 1;
  }
}

Fails to compile:

[09-04-14 18:50:18.898] {resin-20} com.caucho.java.JavaCompileException: .../_test/_default_22dreturn__php.java:64: unreachable statement
[09-04-14 18:50:18.898] {resin-20} return com.caucho.quercus.env.NullValue.NULL;
[09-04-14 18:50:18.898] {resin-20} ^
Additional Information
Attached Files

- Relationships

- Notes
(0003953)
nam
04-15-09 00:07

php/367y
 

- Issue History
Date Modified Username Field Change
04-14-09 18:52 koreth New Issue
04-15-09 00:07 nam Note Added: 0003953
04-15-09 00:07 nam Status new => assigned
04-15-09 00:07 nam Assigned To  => nam
04-15-09 00:07 nam Status assigned => closed
04-15-09 00:07 nam Resolution open => fixed
04-15-09 00:07 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