Skip to content

Commit 82f10fc

Browse files
author
Matt
authored
Fixed Playground compilation error (#350)
Fix the initialiser for ParsePrint
1 parent 01f8d56 commit 82f10fc

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed

Parsing.playground/Contents.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,20 @@ struct Instructions {
5353

5454
// MARK: - Parsers
5555

56-
let dot = ParsePrint(.memberwise(Dot.init)) {
56+
let dot = ParsePrint(input: Substring.self, .memberwise(Dot.init)) {
5757
Digits()
5858
","
5959
Digits()
6060
}
6161

62-
let fold = ParsePrint(.memberwise(Fold.init)) {
62+
let fold = ParsePrint(input: Substring.self, .memberwise(Fold.init)) {
6363
"fold along "
6464
Direction.parser()
6565
"="
6666
Digits()
6767
}
6868

69-
let instructions = ParsePrint(.memberwise(Instructions.init)) {
69+
let instructions = ParsePrint(input: Substring.self, .memberwise(Instructions.init)) {
7070
Many {
7171
dot
7272
} separator: {

Parsing.xcworkspace/xcshareddata/swiftpm/Package.resolved

+20-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"kind" : "remoteSourceControl",
2424
"location" : "https://github.com/pointfreeco/swift-case-paths",
2525
"state" : {
26-
"revision" : "bb436421f57269fbcfe7360735985321585a86e5",
27-
"version" : "0.10.1"
26+
"revision" : "642e6aab8e03e5f992d9c83e38c5be98cfad5078",
27+
"version" : "1.5.5"
2828
}
2929
},
3030
{
@@ -35,6 +35,24 @@
3535
"revision" : "3303b164430d9a7055ba484c8ead67a52f7b74f6",
3636
"version" : "1.0.0"
3737
}
38+
},
39+
{
40+
"identity" : "swift-syntax",
41+
"kind" : "remoteSourceControl",
42+
"location" : "https://github.com/swiftlang/swift-syntax",
43+
"state" : {
44+
"revision" : "cb53fa1bd3219b0b23ded7dfdd3b2baff266fd25",
45+
"version" : "600.0.0"
46+
}
47+
},
48+
{
49+
"identity" : "xctest-dynamic-overlay",
50+
"kind" : "remoteSourceControl",
51+
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
52+
"state" : {
53+
"revision" : "bc2a151366f2cd0e347274544933bc2acb00c9fe",
54+
"version" : "1.4.0"
55+
}
3856
}
3957
],
4058
"version" : 2

0 commit comments

Comments
 (0)