File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,7 @@ module SupportMethod {
67
67
68
68
/** Gets a generator method for the type `t` and the content type of the head of the component stack `c`. */
69
69
GenMethod genMethodFor ( Type t , SummaryComponentStack c ) {
70
- result =
71
- min ( GenMethod g |
72
- g = min ( GenMethod g1 | g1 .appliesTo ( t , getContent ( c .head ( ) ) ) | g1 order by g1 .getPriority ( ) )
73
- )
70
+ result = min ( GenMethod g | g .appliesTo ( t , getContent ( c .head ( ) ) ) | g order by g .getPriority ( ) , g )
74
71
}
75
72
76
73
/** Gets a getter method for the content type of the head of the component stack `c`. */
@@ -80,10 +77,7 @@ module SupportMethod {
80
77
81
78
/** Gets a getter method for the type `t` and the content type of the head of the component stack `c`. */
82
79
GetMethod getMethodFor ( Type t , SummaryComponentStack c ) {
83
- result =
84
- min ( GetMethod g |
85
- g = min ( GetMethod g1 | g1 .appliesTo ( t , getContent ( c .head ( ) ) ) | g1 order by g1 .getPriority ( ) )
86
- )
80
+ result = min ( GetMethod g | g .appliesTo ( t , getContent ( c .head ( ) ) ) | g order by g .getPriority ( ) , g )
87
81
}
88
82
}
89
83
You can’t perform that action at this time.
0 commit comments