Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
JSpecify: initial checks for generic type compatibility at assignments #715
JSpecify: initial checks for generic type compatibility at assignments #715
Changes from 27 commits
f306db2
16654f7
7f9418b
441ab7c
4a9c86d
01377b6
359dcc8
731bf3d
b9b8239
fb1beb9
1a23f8e
90d471d
98f7fa6
53ddad7
7daa52b
cd01ff9
202d5db
3998949
fc8b99f
6425909
bae84dc
4aba42c
bca4f24
99e8bf9
a0caac8
5b9d918
4cb51d9
2e4a2ef
b1668e9
9c8b3ae
97e088b
036febf
f065bd9
00ad702
31a0e4d
fe66b4a
89ca225
8ba736b
fa627be
5745cf7
1518629
b25ba39
bd96079
975dccd
6d22b00
2ddbea9
b9cbbff
2002aec
5c11fbe
736a613
80ba7a5
e1864ee
8d5e193
91aab18
799f5dc
f042e60
852e4b1
8b484c2
1727458
7ecc2c4
f0a0b62
bc3c0be
832f733
0b5268c
66a1068
1bc1ea6
cb1690a
c523f2d
8cf3819
27d5488
263edac
2fa8569
f40a0da
8308cf6
af6404a
ad67e01
67994da
2631d63
36a5c60
c8ebfe6
938c595
3fb6856
ee57c56
7349744
b5eb8a0
eecc4c3
063c580
696aa90
823da48
e26e088
f7009ae
3b2cdf1
d957f56
2d061fc
80f296e
c33fe3f
31a3dca
3eca5a3
3435f89
7972c05
4924722
35e2bc7
a59d223
25b840b
c8456f3
945df87
a3fa869
601f2b5
a0aacdb
7b39522
84140d0
20fae01
c517b4b
def7ce2
75f36df
0125647
8fc5d18
090ac0c
ba6b229
bd6700f
fd0b096
d5f34f2
01c5503
25599dd
bf80848
8ca41d0
4a87b6c
44bea9b
b9a2ed4
ac7f33a
851fbfa
b1119ab
92989ec
334d1e8
79b474b
05292c0
d9e2689
1cc72f2
85741be
c58d819
8829bcd
fd16446
c0fd28e
abe3ed9
7a18462
23c8fbb
88accab
124e7c8
00802a1
021435a
a12d549
82d9e8d
f381d83
75234b8
1be7c40
676e07d
a085443
c8303d7
4238a9a
f5ec4cd
257c42c
a9e4890
f3fd30d
c2f66e2
aeddd14
c67db12
e244e55
53f8546
0fe788d
3fb81c9
0bfe208
d6bc810
3127339
4aacb5a
f3e6b45
38f2ef6
5245c4d
0344360
00cad6f
d09c190
8bb552c
0cff82f
9906f25
f6dcc69
4323d48
5ec8fa1
7c07d98
6755d66
41f45b1
322c3c2
4a46a46
4a1ce05
fce345b
02bbd9f
514829d
2270d8d
924883b
c070c22
e37aa61
7412439
228cf0f
b7bbf7c
edb4f86
18f3134
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Also capitalize the start of the error message and again, if we are assuming the compiler will take care of this, a comment saying so is worth it. I think we are betting on this line being unreachable but still being cautious (which is good), right?
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.
Sure. Will update this as well.
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.
@lazaroclapp did you mean this in terms of capitalization?