summaryrefslogtreecommitdiff
path: root/test/files/run/macro-expand-nullary-generic.flags
diff options
context:
space:
mode:
authorSteven Scott <steven@codemettle.com>2015-02-06 12:06:38 -0500
committerSteven Scott <steven@codemettle.com>2015-02-06 15:08:11 -0500
commitb690ef83c13dc04521fda7eea04db8aec6effa08 (patch)
tree53aa51cfc66613a2f39d88aee9c0e4fb0b6e0d17 /test/files/run/macro-expand-nullary-generic.flags
parent178e8df9b6a91375a6162721a0cbc2d90bcc7451 (diff)
downloadscala-b690ef83c13dc04521fda7eea04db8aec6effa08.tar.gz
scala-b690ef83c13dc04521fda7eea04db8aec6effa08.tar.bz2
scala-b690ef83c13dc04521fda7eea04db8aec6effa08.zip
Declare FiniteDuration.toCoarsest to return a FiniteDuration
FiniteDuration.toCoarsest is declared with a return type of Duration even though it can only ever return a FiniteDuration. Change the declaration to return a FiniteDuration so that using this method doesn't require a cast or pattern match on the result in cases where a FiniteDuration is required.
Diffstat (limited to 'test/files/run/macro-expand-nullary-generic.flags')
0 files changed, 0 insertions, 0 deletions