You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess because `free()1Password nulls out freed memory there is a memory problem as when I use the following code
import Foundation
import Syntax
publicenumJSON{case object([String:JSON])case array([JSON])case int(Int)case double(Double)case bool(Bool)case string(String)case null
}publicstructTokenParser:RecursiveParser{publicinit(){}publicvarbody:anyParser<JSON>{Either{JSONDictionaryParser().map(JSON.object)JSONArrayParser().map(JSON.array)StringLiteral().map(JSON.string)IntLiteral().map(JSON.int)DoubleLiteral().map(JSON.double)BooleanLiteral().map(JSON.bool)Word("null").map(to:JSON.null)}}}publicstructJSONArrayParser:Parser{
// reference to the JSON parser
publicvarbody:anyParser<[JSON]>{"["TokenParser().separated(by:",")"]"}}publicstructJSONDictionaryParser:Parser{publicvarbody:anyParser<[String:JSON]>{"{"
// Group acts kinda like parenthesis here.
// It groups the key-value pair into one parser
Group{StringLiteral()":"TokenParser()}.separated(by:",").map{ values in
// put the pairs in a dictionary
returnDictionary(values){ $1 }}"}"}}
I guess because `free()1Password nulls out freed memory there is a memory problem as when I use the following code
To run a simple test
This works on Xcode 14.0 but not on 14.1

The text was updated successfully, but these errors were encountered: