#include "core__error.sep.0.h"
-/* method error#Error#message for (self: Error): String */
+/* method error$Error$message for (self: Error): String */
val* core___core__Error___message(val* self) {
val* var /* : String */;
val* var1 /* : String */;
var1 = self->attrs[COLOR_core__error__Error___message].val; /* _message on <self:Error> */
if (unlikely(var1 == NULL)) {
+if(catchStack.cursor >= 0){
+longjmp(catchStack.envs[catchStack.cursor], 1);
+}
PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _message");
PRINT_ERROR(" (%s:%d)\n", FILE_core__error, 19);
fatal_exit(1);
RET_LABEL:;
return var;
}
-/* method error#Error#message= for (self: Error, String) */
+/* method error$Error$message= for (self: Error, String) */
void core___core__Error___message_61d(val* self, val* p0) {
self->attrs[COLOR_core__error__Error___message].val = p0; /* _message on <self:Error> */
RET_LABEL:;
}
-/* method error#Error#to_s for (self: Error): String */
+/* method error$Error$to_s for (self: Error): String */
val* core___core__Error___core__abstract_text__Object__to_s(val* self) {
val* var /* : String */;
val* var1 /* : String */;
val* var3 /* : String */;
{
-{ /* Inline error#Error#message (self) on <self:Error> */
+{ /* Inline error$Error$message (self) on <self:Error> */
var3 = self->attrs[COLOR_core__error__Error___message].val; /* _message on <self:Error> */
if (unlikely(var3 == NULL)) {
+if(catchStack.cursor >= 0){
+longjmp(catchStack.envs[catchStack.cursor], 1);
+}
PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _message");
PRINT_ERROR(" (%s:%d)\n", FILE_core__error, 19);
fatal_exit(1);
RET_LABEL:;
return var;
}
-/* method error#Error#init for (self: Error) */
+/* method error$Error$init for (self: Error) */
void core___core__Error___core__kernel__Object__init(val* self) {
{
((void(*)(val* self))(self->class->vft[COLOR_core___core__Error___core__kernel__Object__init]))(self); /* init on <self:Error>*/