GDQuest / learn-gdscript

Learn Godot's GDScript programming language from zero, right in your browser, for free.
https://gdquest.github.io/learn-gdscript/
Other
2.1k stars 155 forks source link

Can't assign to constant: Error #913

Open MadhatterDan opened 9 months ago

MadhatterDan commented 9 months ago

Describe the bug Lesson 24 Practice 2, I answered a question incorrectly. This prompted an Error that said "Sorry, we don't have this particular error message covered yet!" The message requested me to make a Report of the Error.

To Reproduce Steps to reproduce the bug:

  1. Go to Lesson 24 "Creating Dictionaries" : Practice 2 "Increasing item counts"
  2. Type out: inventory["healing heart" += 1] inventory["gems" += 1] inventory["sword" += 1]
  3. Run the function.
  4. See error

Expected behavior This was the expected behavior as the answer was incorrect, however the error message generated did not provide context for the error made.

Screenshots n/a

Information about your device (please complete the following information):

Additional context gdquest-1706684537086.log

NathanLovato commented 9 months ago

Thanks for reporting this!