Returns the validation result as a pretty formated string

Property definitions

popcorn $ ValidationResult :: to_pretty_string
	# Returns the validation result as a pretty formated string
	fun to_pretty_string: String do
		var b = new Buffer
		if not has_error then
			b.append "Everything is correct\n"
		else
			b.append "There is errors\n\n"
			for k, v in errors do
				b.append "{k}:\n"
				for vv in v do
					b.append "\t{vv}\n"
				end
				b.append "\n"
			end
		end
		return b.write_to_string
	end
lib/popcorn/pop_validation.nit:151,2--167,4