# A class anotated with `actor`
# It automatically gets the `async` property to make asynchronous calls on it
class A
	actor
	# Prints "foo"
	fun foo do print "foo"
	# Returns i^2
	fun bar(i : Int): Int do return i * i
end
					lib/actors/examples/simple/simple.nit:21,1--31,3