dictu-lang / Dictu

Dictu is a high-level dynamically typed, multi-paradigm, interpreted programming language.
https://dictu-lang.com
MIT License
268 stars 53 forks source link

[BUG] Possible Typo in Error Message #709

Closed briandowns closed 9 months ago

briandowns commented 9 months ago

Is there an existing issue for this?

Current Behavior

Is this error message expected to have the numeric value in there? There appears to be "attribute2" and "attribute3" as well.

RUNTIME_ERROR("'%s' instance has no attribute1: '%s'.", instance->klass->name->chars, name->chars);

Expected Behavior

No response

Steps To Reproduce

No response

Anything else?

No response

Jason2605 commented 9 months ago

That definitely shouldn't be there 😂 more than likely my wonderful version of debugging leaking through

briandowns commented 9 months ago

Cool. Thanks. I'll send a PR in shortly. I came across it and then second guessed.

Jason2605 commented 9 months ago

Much appreciated