Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ encapsulation.

The basic idea is simple. We let users use a private name in a named parameter
when the parameter also initializes or declares a field. The compiler removes
the `_` from the argument name but keeps it for the corresponding field. In
other words, we do exactly what users are doing by hand when they write an
initializer like:
the `_` from the argument name at call sites but keeps it for the corresponding
field. In other words, we do exactly what users are doing by hand when they
write an initializer like:

```dart
class House {
Expand Down