Skip to content

Conversation

@heinezen
Copy link
Member

@heinezen heinezen commented May 21, 2023

  • Keep track of imported namespaces (prevents errors for duplicate file/object loading)
  • Allow inherited member IDs to be prefixed with the fqon of the object the memer is inherited from
  • Fix a bug where nested objects before EOF crashed the parser
  • Check if the value of an optional container is None before reading values

@heinezen heinezen added improvement improves existing functionality c++ involves C++ code labels May 21, 2023
@heinezen heinezen changed the title Check if namespace is already loaded before importing Fix Fiesta May 26, 2023

DictTest():
dictmember : dict(int, text) = {2: "two", 4: "four"}
dictmember2 : optional(dict(text, int)) = None
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could create a syntax sugar (kotlin does this): dict? is the same as optional(dict)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could make it more unreadable but why not? :)

@TheJJ TheJJ merged commit 97ab90a into SFTtech:master Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ involves C++ code improvement improves existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants