History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-650
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Doug H
Reporter: Doug H
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

type inference error when enumeratoritemtype not yet visited

Created: 06/Feb/06 05:02 PM   Updated: 08/Feb/06 07:02 PM
Component/s: Compiler
Affects Version/s: 0.7.5
Fix Version/s: 0.7.6

Time Tracking:
Not Specified

File Attachments: 1. Text File boo650.patch (2 kb)

Issue Links:
Related
 

Testcase included: yes


 Description  « Hide
Type inference breaks if class EnumeratorItemType attribute hasn't yet been visited.

Attachment has one way to fix it along with test case that demonstrates bug. If you fix it a different way, test it with the source spread across multiple files, too. Some fixes only fix single file example.

TypeSystemServices.GetEnumeratorItemTypeFromAttribute is where the actual failure happens, since the enumeratoritem attribute doesn't have an entity yet. But I put the fix in ProcessMethodBodies.ensurerelatednodewasvisited.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.