List Info

Thread: Bug: BooBinding.Parser and custom events




Bug: BooBinding.Parser and custom events
user name
2007-04-24 12:51:09
Using monodevelop 1.2, mono 1.1.17.1 (on FC6 machine, using
standard rpm
install).

The following is valid Boo code (c.f. http://boo.codehaus.or
g/Events):

|class EventProducer(object):
|	event SomeCustomEvent as callable( object, int )
|
|	// rest of class

In monodevelop the Boo parser gives errors like:
2007-04-24 12:49:34,394 [-1353696368] ERROR
BooBinding.Parser.ReturnType
[(null)] - Got unknown TypeReference
callable(System.Object,
System.Int32)


At times, these BooBinding Parser errors can lead to
segmentation
faults; this occurred to me when adding an abstract function
to the
class.

These errors seem to go away if I explicitly declare the
callables,
e.g.:

|class EventProducer(object):
	public callable CustomEventSignature( object , int ) as
void
	event SomeCustomEvent as CustomEventSignature
_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )