File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,21 @@ class PrettyColorsTests: XCTestCase {
26
26
}
27
27
28
28
func test_problem_SingleStyleParameter( ) {
29
- //// As of `swift-600.0.57.3`, the following statement errors:
30
- //// «Extra argument 'style' in call»
29
+ /*
30
+ As of `swift-600.0.57.3`, the following statement errors:
31
+ «Extra argument 'style' in call»
32
+ */
31
33
// Color.Wrap(style: .Bold)
32
- //// Removing the supposedly "extra" argument 'style' errors:
33
- //// «'().Type' does not have a member named 'Bold'»
34
+
35
+ /*
36
+ Removing the supposedly "extra" argument 'style' errors:
37
+ «'().Type' does not have a member named 'Bold'»
38
+ */
34
39
// Color.Wrap(.Bold)
35
40
36
41
/*
37
42
The true problem appears to be the ambiguity between the
38
- two functions of the form « init(foreground:background:style:)» .
43
+ two functions of the form ` init(foreground:background:style:)` .
39
44
*/
40
45
41
46
// Workarounds:
You can’t perform that action at this time.
0 commit comments