Repository navigation
merge queue: checking #1796 on master (036d531) - #2094
Closed
mergify[bot] wants to merge 2 commits into
Closed
mergify[bot] wants to merge 2 commits into
mergify[bot] wants to merge 2 commits into
Conversation
Classes accept value and type parameters (IEEE 1800-2023 8.25). Each set of parameter values and types is a specialization: a class of its own, with its own static properties and run-time identifier, named by its values, so C#(2, int) and C#(.T(int), .N(2)) are one class and a handle of C#(2) is not assignment compatible with C#(3). Parameter value assignments are evaluated where they are written, including module and generate parameters; the specializations a module names are made before its classes are lowered, iterating over references inside classes until no new one appears. Inside a parameterized class and its out-of-block methods the class name alone refers to the specialization; elsewhere it is the default specialization as a type, and C#()::, not C::, is required as a scope (8.25.1). Class parameters are read through a handle or C#(...)::, derived classes see the parameters and typedefs of their bases, class typedefs are usable inside the class and as C::T, and interface classes inherit the parameters and typedefs of the interface classes they extend. An interface class inheriting one name from two different interface classes or specializations must declare its own (8.26.6.2, 8.26.6.3). Constructor calls and super.new accept named arguments. The parser records the parameter port list, body parameters and typedefs of each class. sv-tests: 8.5--parameters, 8.8--typed_constructor_param, 8.25--parametrized_class_extend, 8.25.1--parametrized_class_scope_resolution and 8.26.3--type_access_implements pass, and the negative 8.26.6.2--parameter_type_conflict_unresolved and 8.26.6.3--diamond_relationship_parametrized probes are now rejected for the conflict they test (1080/1091 passing). Verilator 5.052 treats differently written assignments of the same values as different specializations, and Icarus 13.0 does not parse class parameter port lists; both are recorded with evidence. BREAKING CHANGE: AnalyzerError gains ConflictingInterfaceClassDeclaration, UnspecializedClassScope and UnknownClassParameter, and celox_sv_syntax::ClassDeclaration gains parameter_ports, parameters and type_aliases fields. Change-Id: I45d026291acf9b8870619829b3234ab84bfc65ad
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch sympathetic-galet-rvdkyx of the
changesqueue, to test #1796 before it merges intomaster. Pushing to this branch or closing this pull request removes #1796 from the queue.What this draft tests
Mergify checks that #1796 still passes CI on top of
master. CI runs on this draft's code, built in this order:masterat036d531🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.Metadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationmaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-success = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-head ~= ^renovate/-label = release:holdbase ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On:head != release-please--branches--master--components--celoxlabel = merge-readymaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-skipped = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-skipped = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit title