Actions
Bug #16014
closedChange validation does not compile with latest version
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
Compilation fails in rudder 5.0.15 on change validation plugin because of our switch to value class for Id classes (NoeId, DirectiveId ...)
with the following error:
Parameter type in structural refinement may not refer to a user-defined value classdef
It's because structural types (type created on demand like here
def treenode = new TreeNode { }
has member using a value class as parameter
def DirectiveChildren(directiveId : DirectiveId)
changing to a class instead of def in treenode fix the issue
Actions