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

Key: BOO-730
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Rodrigo B. de Oliveira
Reporter: Daniel Grunwald
Votes: 0
Watchers: 0
Operations

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

BooPrinterVisitor outputs invalid definitions for interfaces

Created: 05/May/06 09:24 AM   Updated: 01/Sep/07 10:01 AM
Component/s: Compiler
Affects Version/s: 0.7.6
Fix Version/s: 0.7.9

Time Tracking:
Not Specified

Testcase included: yes


 Description  « Hide
Compile this code with -p:boo :

import System

interface ITest:
def M() as void
P as string:
get
event eh as EventHandler

abstract class TestClass:
abstract def M() as void:
pass
abstract P as string:
get:
pass
event eh as EventHandler

The output of BooPrinterVisitor is
public interface ITest:
public abstract def M() as System.Void:
pass
public abstract P as System.String:
public abstract get:
pass
public abstract event eh as System.EventHandler
[...]

This is invalid syntax for interfaces. Fixing this is important for the C# -> Boo converter.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Rodrigo B. de Oliveira - 01/Sep/07 10:01 AM
Hopefully this still contributest to improved #develop support.