File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class Compiler {
73
73
new ProtectedAccessors , // Add accessors for protected members
74
74
new ExtensionMethods , // Expand methods of value classes with extension methods
75
75
new UncacheGivenAliases , // Avoid caching RHS of simple parameterless given aliases
76
- new ElimContextClosures , // Unwrap context closures that contain only a context function of compatible type
76
+ new ElimContextClosures , // Unwrap context closures that contain only a context function of compatible type
77
77
new ByNameClosures , // Expand arguments to by-name parameters to closures
78
78
new HoistSuperArgs , // Hoist complex arguments of supercalls to enclosing scope
79
79
new SpecializeApplyMethods , // Adds specialized methods to FunctionN
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ import reporting.trace
26
26
* function literal.
27
27
*
28
28
* This makes for very ergonomic client code, but the implementation
29
- * requires the wrapper to be genereated before type information is available.
30
- * Thus, it can't be determine if the passed value is already a context function
29
+ * requires the wrapper to be generated before type information is available.
30
+ * Thus, it can't be determined if the passed value is already a context function
31
31
* of the expected type, and the closure must be generated either way.
32
32
*
33
33
* Without this phase, when a contextual function is passed as an argument to a
You can’t perform that action at this time.
0 commit comments