/* gives me runtime error
GLib-GObject-CRITICAL **: g_param_spec_internal: assertion `(name[0] >= 'A' && name[0] <= 'Z') || (name[0] >= 'a' && name[0] <= 'z')' failed
Segmentation fault.*/
class InsaneThing of _object_ : Object
	init
		print "using bad generic name"

/* would lead to compile error */
/*class ImpossibleThing of object : Object
	init
		print "using impossible generic name"*/

class SaneThing of obj : Object
	init
		// These can be used as names for local vars, though
		var object = "object"
		var _object_ = "_object_"
		print "using good generic name (not " + object + " or " + _object_ + ")"

init
	//var it = new ImpossibleThing of string
	print "(skipped impossible)."
	var s = new SaneThing of string
	print "sane."
	var i = new InsaneThing of string
	print "insane."
