From 00ce759fc3919b04bdaa50413b3129e60fb58c7a Mon Sep 17 00:00:00 2001 From: grebe Date: Fri, 14 Sep 2018 17:07:18 -0700 Subject: Give type annotation to litOption. (#887) The litOption field currently has no type that can be inferred. Some subtypes override it and give it a type, but the original declaration should have a type so things like bundles can override it.--- chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala b/chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala index f47b33d9..b5c63c44 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala @@ -63,7 +63,7 @@ sealed abstract class Aggregate extends Data { } } - override def litOption = ??? // TODO implement me + override def litOption: Option[BigInt] = ??? // TODO implement me // Returns the LitArg of a Bits object. // Internal API for Bundle literals, to copy the LitArg of argument literals into the top map. -- cgit v1.2.3