Skip to content

initialize local VAR CONSTANT function vars#669

Merged
riederm merged 1 commit intomasterfrom
634_default_value_for_constants
Dec 2, 2022
Merged

initialize local VAR CONSTANT function vars#669
riederm merged 1 commit intomasterfrom
634_default_value_for_constants

Conversation

@riederm
Copy link
Collaborator

@riederm riederm commented Nov 30, 2022

aggregate local constant variables (in functions) used to have problems if they were not properly initialized. Instead of forcing an initializer, we fallback to the type's default value or zeroinitializer.

added regression test for a previously failing situation

fixes #634

aggregate local constant variables (in functions) used to have problems if they were not properly initialized. Instead of forcing an initializer, we fallback to the type's default value or zeroinitializer. added regression test for a previously failing situation fixes #634
@riederm riederm requested a review from ghaith December 1, 2022 07:37
@riederm riederm merged commit 11c90ba into master Dec 2, 2022
@riederm riederm deleted the 634_default_value_for_constants branch December 2, 2022 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants