My Godot Console is bugged

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By O_Chernobas

I was doing a checkers game (I’m not sure what is the name of this game, in Brazil we call it “Damas”, or “Ladies”. I searched at google, and found that this game in english is named “checkers”), and writing my code, triyng to make the mechanic of one piece knowing if has another piece close. But this (look at the print) happened, my code was saying that everything i did was with a error, but isn’t

I think it is a bug at the console, can someone help me ?

Ps: I’m going to send a e-mail to godot support (If godot has it) showing this bug

:bust_in_silhouette: Reply From: jgodfrey

I doubt seriously that this is a problem with Godot itself. While your screenshots are hard to see, in the first one, it looks like you’re missing the trailing colon (:) after the function definition (on line 32).

I’d start by fixing that and see if you still have other issues.

If you need more assistance finding the problems, post the (formatted) code itself instead of screen shots.

jgodfrey | 2020-12-17 22:48

Man, the code was working properly, and suddenly, this error message appeared. The error are

FIRST IMAGE - “Error parsed expression, misplaced: func”

If the error was a colon missed, it will say something like "expected ‘:’ "

O_Chernobas | 2020-12-18 17:11

Again, it’s hard to help based on images that I can barely read. Post the actual code if you need additional assistance.

jgodfrey | 2020-12-18 19:40

See the “re-ask” of this question here for the follow-up:

Can someone help ? - Archive - Godot Forum

jgodfrey | 2020-12-18 21:29