@@ -29,7 +29,7 @@ object Literals {
29
29
case None => Left (" invalid IP address" )
30
30
}
31
31
}
32
- def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [IpAddress ] = apply(c)(args : _ * )
32
+ def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [IpAddress ] = apply(c)(args* )
33
33
}
34
34
35
35
object ipv4 extends Literally [Ipv4Address ] {
@@ -40,7 +40,7 @@ object Literals {
40
40
case None => Left (" invalid IPv4 address" )
41
41
}
42
42
}
43
- def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Ipv4Address ] = apply(c)(args : _ * )
43
+ def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Ipv4Address ] = apply(c)(args* )
44
44
}
45
45
46
46
object ipv6 extends Literally [Ipv6Address ] {
@@ -51,7 +51,7 @@ object Literals {
51
51
case None => Left (" invalid IPv6 address" )
52
52
}
53
53
}
54
- def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Ipv6Address ] = apply(c)(args : _ * )
54
+ def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Ipv6Address ] = apply(c)(args* )
55
55
}
56
56
57
57
object mip extends Literally [Multicast [IpAddress ]] {
@@ -62,7 +62,7 @@ object Literals {
62
62
case None => Left (" invalid IP multicast address" )
63
63
}
64
64
}
65
- def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Multicast [IpAddress ]] = apply(c)(args : _ * )
65
+ def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Multicast [IpAddress ]] = apply(c)(args* )
66
66
}
67
67
68
68
object mipv4 extends Literally [Multicast [Ipv4Address ]] {
@@ -73,7 +73,7 @@ object Literals {
73
73
case None => Left (" invalid IPv4 multicast address" )
74
74
}
75
75
}
76
- def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Multicast [Ipv4Address ]] = apply(c)(args : _ * )
76
+ def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Multicast [Ipv4Address ]] = apply(c)(args* )
77
77
}
78
78
79
79
object mipv6 extends Literally [Multicast [Ipv6Address ]] {
@@ -84,7 +84,7 @@ object Literals {
84
84
case None => Left (" invalid IPv6 multicast address" )
85
85
}
86
86
}
87
- def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Multicast [Ipv6Address ]] = apply(c)(args : _ * )
87
+ def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Multicast [Ipv6Address ]] = apply(c)(args* )
88
88
}
89
89
90
90
object ssmip extends Literally [SourceSpecificMulticast .Strict [IpAddress ]] {
@@ -96,7 +96,7 @@ object Literals {
96
96
case None => Left (" invalid source specific IP multicast address" )
97
97
}
98
98
}
99
- def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [SourceSpecificMulticast .Strict [IpAddress ]] = apply(c)(args : _ * )
99
+ def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [SourceSpecificMulticast .Strict [IpAddress ]] = apply(c)(args* )
100
100
}
101
101
102
102
object ssmipv4 extends Literally [SourceSpecificMulticast .Strict [Ipv4Address ]] {
@@ -108,7 +108,7 @@ object Literals {
108
108
case None => Left (" invalid source specific IPv4 multicast address" )
109
109
}
110
110
}
111
- def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [SourceSpecificMulticast .Strict [Ipv4Address ]] = apply(c)(args : _ * )
111
+ def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [SourceSpecificMulticast .Strict [Ipv4Address ]] = apply(c)(args* )
112
112
}
113
113
114
114
object ssmipv6 extends Literally [SourceSpecificMulticast .Strict [Ipv6Address ]] {
@@ -120,7 +120,7 @@ object Literals {
120
120
case None => Left (" invalid source specific IPv6 multicast address" )
121
121
}
122
122
}
123
- def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [SourceSpecificMulticast .Strict [Ipv6Address ]] = apply(c)(args : _ * )
123
+ def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [SourceSpecificMulticast .Strict [Ipv6Address ]] = apply(c)(args* )
124
124
}
125
125
126
126
object port extends Literally [Port ] {
@@ -131,7 +131,7 @@ object Literals {
131
131
case None => Left (" invalid port" )
132
132
}
133
133
}
134
- def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Port ] = apply(c)(args : _ * )
134
+ def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Port ] = apply(c)(args* )
135
135
}
136
136
137
137
object hostname extends Literally [Hostname ] {
@@ -142,7 +142,7 @@ object Literals {
142
142
case None => Left (" invalid hostname" )
143
143
}
144
144
}
145
- def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Hostname ] = apply(c)(args : _ * )
145
+ def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [Hostname ] = apply(c)(args* )
146
146
}
147
147
148
148
object idn extends Literally [IDN ] {
@@ -153,6 +153,6 @@ object Literals {
153
153
case None => Left (" invalid IDN" )
154
154
}
155
155
}
156
- def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [IDN ] = apply(c)(args : _ * )
156
+ def make (c : Context )(args : c.Expr [Any ]* ): c.Expr [IDN ] = apply(c)(args* )
157
157
}
158
158
}
0 commit comments