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 {
244244 var targ = myTypedArg(arg)
245245 if (targ == null ) {
246246 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.
248248 // That way we don't cause a "missing parameter" error in `typerFn(arg)`
249249 targ = arg.withType(WildcardType )
250250 else {
@@ -261,7 +261,7 @@ object ProtoTypes {
261261 /** The typed arguments. This takes any arguments already typed using
262262 * `typedArg` into account.
263263 * @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
265265 * "missing parameter type" error
266266 */
267267 private def typedArgs (force : Boolean ): List [Tree ] = {
You can’t perform that action at this time.
0 commit comments