Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upError message shows type of private field #57320
Comments
killercup
added
the
A-diagnostics
label
Jan 3, 2019
This comment has been minimized.
This comment has been minimized.
|
I won't close the ticket as this deserves a conversation to be had, but I personally don't consider it to Parsing x.len as
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
killercup commentedJan 3, 2019
•
edited
The code below yields two errors:
<type of private field>instead ofboolThis means a user can observe the type of a private field of a dependency in their error messages. It doesn't mean they can actually use that information, but it seems weird at least.
Is this actually an issue? If you don't consider it one, feel free to close this.
playground
(originally seen on reddit)