-
Notifications
You must be signed in to change notification settings - Fork 219
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
Error on augment expr #4926
base: main
Are you sure you want to change the base?
Error on augment expr #4926
Conversation
❌ There is undocummented changes. Run The following packages have changes but are not documented.
Show changes |
You can try these changes here
|
34961b4
to
94bf164
Compare
@@ -5165,6 +5165,18 @@ export function createChecker(program: Program, resolver: NameResolver): Checker | |||
target: node.targetType, | |||
}), | |||
); | |||
} else if ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If someone wants to take over this PR during my leave I think the remaining items are:
- this probably should also error for union expression
- add tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pr off #4849 that adds a breaking change that validate that you cannot augment model expression instead of just silently failing
Needs to be rebased when #4849 is merged