Skip to content

Commit 7a5b5f9

Browse files
Adds a file to collect parsing errors from anonymised server logs
1 parent 434384d commit 7a5b5f9

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import Foundation
2+
3+
extension Input {
4+
5+
// NOTE: This file is a collection of parsing errors from anonymised
6+
// server logs.
7+
8+
// NSLayoutAnchorConstraintSpace(8) after equation constraint.
9+
static let papertrail1 = """
10+
(
11+
"<_UISystemBaselineConstraint:0x600002d1f4e0 SomeView:0x7fceff1c07a0.bottom <= UILayoutGuide:0x60000306d340'UIViewSafeAreaLayoutGuide'.bottom NSLayoutAnchorConstraintSpace(8) (active)>",
12+
"<NSLayoutConstraint:0x600002a911d0 UIInputSetContainerView:0x7fcef9d5bde0.bottom == UIRemoteKeyboardWindow:0x7fcefa227a00.bottom (active)>",
13+
"<NSLayoutConstraint:0x600002a9db80 UIInputSetHostView:0x7fcef9d4d6b0.bottom == UIInputSetContainerView:0x7fcef9d5bde0.bottom (active)>",
14+
"<NSLayoutConstraint:0x600002a8d9f0 SomeView:0x7fceff1c07a0.bottom == UIInputSetHostView:0x7fcef9d4d6b0.bottom (active)>",
15+
"<NSLayoutConstraint:0x600002a87340 'UIViewSafeAreaLayoutGuide-bottom' V:[UILayoutGuide:0x60000306d340'UIViewSafeAreaLayoutGuide']-(34)-| (active, names: '|':UIRemoteKeyboardWindow:0x7fcefa227a00 )>"
16+
)
17+
"""
18+
19+
// Single-quote mark in identifier
20+
static let papertrail2 = """
21+
(
22+
"<NSLayoutConstraint:0x6000037d41e0 UILabel:0x7f95b5653eb0.height == 40 (active)>",
23+
"<NSLayoutConstraint:0x6000037d49b0 UIImageView:0x7f95b56530e0.height == 0.9*UILabel:0x7f95b5653310.height (active)>",
24+
"<NSLayoutConstraint:0x6000037dddb0 'UISV-alignment' UILabel:0x7f95b5653eb0'YOU'RE OK'.bottom == UILabel:0x7f95b5653310'Mate'.bottom (active)>",
25+
"<NSLayoutConstraint:0x6000037dde00 'UISV-alignment' UILabel:0x7f95b5653eb0'YOU'RE OK'.bottom == UIImageView:0x7f95b56530e0.bottom (active)>",
26+
"<NSLayoutConstraint:0x6000037dde50 'UISV-alignment' UILabel:0x7f95b5653eb0'YOU'RE OK'.top == UILabel:0x7f95b5653310'Mate'.top (active)>",
27+
"<NSLayoutConstraint:0x6000037ddef0 'UISV-alignment' UILabel:0x7f95b5653eb0'YOU'RE OK'.top == UIImageView:0x7f95b56530e0.top (active)>"
28+
)
29+
"""
30+
}

0 commit comments

Comments
 (0)