Unverified Commit 9a7945fd authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Check for Vec subaccess in NamedComponent and throw a nicer error. (backport #2907) (#2928)

* Check for Vec subaccess in NamedComponent and throw a nicer error. (#2907)

This would previously end up throwing an exception later, when trying
to create a component name and realizing that it was invalid. Instead,
this detects Vec subaccesses early, and gives a more precise error and
suggestion.

(cherry picked from commit d8c30961

)

# Conflicts:
#	core/src/main/scala/chisel3/internal/Builder.scala

* Resolve backport conflicts

Co-authored-by: default avatarMike Urbach <mikeurbach@gmail.com>
parent 12785c6b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment