File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ object ProtoTypes {
244
244
var targ = myTypedArg(arg)
245
245
if (targ == null ) {
246
246
if (! force && untpd.functionWithUnknownParamType(arg).isDefined)
247
- // If force = true , assume ? rather than reporting an error.
247
+ // If force = false , assume ? rather than reporting an error.
248
248
// That way we don't cause a "missing parameter" error in `typerFn(arg)`
249
249
targ = arg.withType(WildcardType )
250
250
else {
@@ -261,7 +261,7 @@ object ProtoTypes {
261
261
/** The typed arguments. This takes any arguments already typed using
262
262
* `typedArg` into account.
263
263
* @param force if true try to typecheck arguments even if they are functions
264
- * with unknown parameter types - this will then cause a
264
+ * with unknown parameter types - this will then cause a
265
265
* "missing parameter type" error
266
266
*/
267
267
private def typedArgs (force : Boolean ): List [Tree ] = {
You can’t perform that action at this time.
0 commit comments