| Summary: | [compiler] lowering in array initializer | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> | ||||
| Component: | OTJ | Assignee: | Stephan Herrmann <stephan.herrmann> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 0.8 | ||||||
| Target Milestone: | 0.8 M5 | ||||||
| Hardware: | Other | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 187891 [details]
test & fix
The issue was a simple omission in one of our visitors. Fixed.
Patch has been committed as r1271, r1272. Verified for 0.8M5 using build 201101290806. |
It seems the following code fails to perform lowering: MyRole r = ... MyBase[] bs = new MyBase[] { r }; On the one hand, this compiles fine, but on the other hand I just saw an ArrayStoreException at runtime. should investigate.