Repairs unexpected failure of test t6200.scala

Added extra ()'s to get rid of deprecation warning for inferring unit arg.