[MonoDevelop] Bug: BooBinding.Parser and custom events

David McNamara David_McNamara at appsig.com
Tue Apr 24 13:51:09 EDT 2007


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.org/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


More information about the Monodevelop-list mailing list