Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lvs issues #1647

Merged
merged 4 commits into from
Mar 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[consider merging] Bugfix: connect_explicit did not accept an array o…
…f nets as single argument
  • Loading branch information
Matthias Koefferlein committed Mar 11, 2024
commit 2d91f7f90c9341289ae9f6a3f7c01cff5d1c6ae0
3 changes: 2 additions & 1 deletion src/drc/drc/built-in-macros/_drc_netter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,8 @@ def connect_explicit(arg1, arg2 = nil)
arg1.is_a?(String) || raise("The first argument has to be a string")
@pre_extract_config << lambda { |l2n| l2n.join_nets(arg1, arg2) }
else
arg1.is_a?(String) || raise("The argument has to be a string")
arg1.is_a?(Array) || raise("The argument has to be an array of strings")
arg1.find { |a| !a.is_a?(String) } && raise("The argument has to be an array of strings")
@pre_extract_config << lambda { |l2n| l2n.join_nets(arg1) }
end

Expand Down
Loading