summaryrefslogtreecommitdiff
path: root/chiselFrontend/src/main/scala/chisel3/core
diff options
context:
space:
mode:
authorgrebe2018-09-14 17:07:18 -0700
committerRichard Lin2018-09-14 17:07:18 -0700
commit00ce759fc3919b04bdaa50413b3129e60fb58c7a (patch)
treed7d06676b39fd9a936ac32517e05a8fea092aff5 /chiselFrontend/src/main/scala/chisel3/core
parentf448449e9c1f83456aa9968201c3aafa592a61f3 (diff)
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.
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/core')
-rw-r--r--chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala2
1 files changed, 1 insertions, 1 deletions
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.