| [#1138] | project: compiler | priority: low | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Sean | Martin | won't fix | 2007-05-24 13:59:45.0 | |
| subject | type inference regression | |||
| code |
package test;
case class Style(foreground : Int, background : Int, bold : Boolean) {
def foreground(foreground : Int) = Style(foreground, background, bold)
def background(background : Int) = Style(foreground, background, bold)
def bold( bold : Boolean) = Style(foreground, background, bold)
} |
|||
| what happened | overloaded method background needs result type test13/src/test Test.scala line 5 1179997485904 197421 overloaded method foreground needs result type test13/src/test Test.scala line 4 1179997485904 197420 |
|||
| what expected | Worked last week, doesn't work with final. | |||
| [back to overview] | ||||
| Martin edited on 2007-05-29 21:03:39.0 |
| The original was accidental behavior, not covered by the spec. The error message is caused by the fix to bug1102. |