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
Named tuples second implementation #19174
Named tuples second implementation #19174
Changes from all commits
9d1f20d
2395ece
64a79c9
cb95265
6ae8252
1f79b87
b9899b7
27d6288
5dd48f9
bd9bb8a
e0a11cd
b9d86fe
0fbdb49
6f53dcd
b44f15d
02aa578
b7115e7
5c9bb5f
4758830
18f600d
5513ed6
fb1541a
cf09b19
4baa509
702dcd5
1e31d16
22e6c89
d0888f6
69964b0
a3409e0
111674c
1fd5962
c0b792f
611861b
640da16
67c0af2
2cd5d7e
d8b7595
e0eb247
4279a58
c0bd1e4
b997f3d
2206d88
ca19f1a
984fe62
21bcfef
92d22c9
1613ee1
a04d3a7
37b1bd2
3f8f6c6
9627c08
8a4162f
0ab9e7b
075b7d1
c58c8c2
57b17ac
f427ec9
94b7c1f
5df2120
40c6138
03509b8
9047ac3
579e14a
8d6fa37
1e29c4f
0c89c92
f80a8dd
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.
will probably need a warning of changing behaviour, before this would be considered an assignment in parens:
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.
Noted for further work. We need to think of this migration when named tuples become standard.
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.
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.
The proposed replacement does not compiler. There is no
NamedTuple
method inDefinitions
.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.
there's a
NamedTuple
object with apply method that's being used in some other placesThere 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.
its not obvious here how this change relates to NamedTuples, or which example needs this change