Skip to content

Conversation

@mvertes
Copy link
Collaborator

@mvertes mvertes commented Jun 30, 2020

In definition assign expression, the source type is propagated to
the assigned value. If the source is an untyped constant, the
destination type must be set to the default type of the constant
definition. A fixType function is provided to perform this.

In addition, the type conversion and check of constants is
refactored for simplifications.

Fixes #727.

In definition assign expression, the source type is propagated to
the assigned value. If the source is an untyped constant, the
destination type must be set to the default type of the constant
definition. A fixType function is provided to perform this.

In addition, the type conversion and check of constants is
refactored for simplifications.

Fixes #727.
@mvertes mvertes requested a review from nrwiersma June 30, 2020 19:13
@mvertes mvertes added area/core bug Something isn't working labels Jun 30, 2020
@mvertes mvertes added this to the v0.8.x milestone Jun 30, 2020
Copy link
Contributor

@nrwiersma nrwiersma left a comment

Choose a reason for hiding this comment

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

Much better than before 👏

@mvertes mvertes merged commit 39430c3 into master Jul 1, 2020
@mvertes mvertes deleted the fix-727 branch July 1, 2020 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/core bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

using int constant

3 participants