1 #include "core__error.sep.0.h"
2 /* method error#Error#message for (self: Error): String */
3 val
* core___core__Error___message(val
* self
) {
4 val
* var
/* : String */;
5 val
* var1
/* : String */;
6 var1
= self
->attrs
[COLOR_core__error__Error___message
].val
; /* _message on <self:Error> */
7 if (unlikely(var1
== NULL
)) {
8 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _message");
9 PRINT_ERROR(" (%s:%d)\n", FILE_core__error
, 19);
16 /* method error#Error#message= for (self: Error, String) */
17 void core___core__Error___message_61d(val
* self
, val
* p0
) {
18 self
->attrs
[COLOR_core__error__Error___message
].val
= p0
; /* _message on <self:Error> */
21 /* method error#Error#to_s for (self: Error): String */
22 val
* core___core__Error___core__abstract_text__Object__to_s(val
* self
) {
23 val
* var
/* : String */;
24 val
* var1
/* : String */;
25 val
* var3
/* : String */;
27 { /* Inline error#Error#message (self) on <self:Error> */
28 var3
= self
->attrs
[COLOR_core__error__Error___message
].val
; /* _message on <self:Error> */
29 if (unlikely(var3
== NULL
)) {
30 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _message");
31 PRINT_ERROR(" (%s:%d)\n", FILE_core__error
, 19);
43 /* method error#Error#init for (self: Error) */
44 void core___core__Error___core__kernel__Object__init(val
* self
) {
46 ((void(*)(val
* self
))(self
->class->vft
[COLOR_core___core__Error___core__kernel__Object__init
]))(self
); /* init on <self:Error>*/