diff options
| author | grebe | 2018-09-14 17:07:18 -0700 |
|---|---|---|
| committer | Richard Lin | 2018-09-14 17:07:18 -0700 |
| commit | 00ce759fc3919b04bdaa50413b3129e60fb58c7a (patch) | |
| tree | d7d06676b39fd9a936ac32517e05a8fea092aff5 /chiselFrontend/src/main | |
| parent | f448449e9c1f83456aa9968201c3aafa592a61f3 (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')
| -rw-r--r-- | chiselFrontend/src/main/scala/chisel3/core/Aggregate.scala | 2 |
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. |
