Skip to content

Commit

Permalink
change error message for composite types
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulMarisOUMary committed Mar 11, 2024
1 parent 8ee7a93 commit 84ef705
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions moon/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ def execute(
return None

# Composite Types
case "list_statement":
raise NotImplementedError
case "dict_statement":
raise NotImplementedError
case "list_composite":
raise NotImplementedError("Lists are not yet implemented.")
case "dict_composite":
raise NotImplementedError("Dictionaries are not yet implemented.")

# Variable Declaration and Initialization
case "variable_declaration_statement":
Expand Down

0 comments on commit 84ef705

Please sign in to comment.