-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type alias getting "DeclarationTypeChanged" #22
Comments
Maybe there's compatibility issues from going from |
@jpillora This is currently the expected behavior. Changing an existing type to an alias is not backwards compatible. For example:
That being said, I think it would make sense to have more fine-grained output here and signaling when the only change in the declaration is the presence of an alias or the change of an alias target. |
RE: Reflection: true - though this is a runtime compatibility issue, similar to introducing a logical error RE: Equality: before the change |
Basically, what I'm looking for is "will old programs compile with these changes?" and then any runtime issues can be resolved after that |
Yep. I'll check if there is a reasonable way to check that. It can probably done if both types belong to the same module.
Ok. Sounds reasonable. |
While technically true, Declaration Type did Change. It's a compatible change. Is this expected behaviour:
jpillora/gocompat@e9400c2
The text was updated successfully, but these errors were encountered: