Skip to content

Commit 27f07d0

Browse files
committed
Migrate project to Xcode 11.4.
1 parent 2fc86e0 commit 27f07d0

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[![Platform: macOS](https://img.shields.io/badge/Platform-macOS-blue.svg?style=flat)](https://developer.apple.com/osx/)
55
[![Language: Swift 5.1](https://img.shields.io/badge/Language-Swift%205.1-green.svg?style=flat)](https://developer.apple.com/swift/)
6-
[![IDE: Xcode 11.3](https://img.shields.io/badge/IDE-Xcode%2011.3-orange.svg?style=flat)](https://developer.apple.com/xcode/)
6+
[![IDE: Xcode 11.4](https://img.shields.io/badge/IDE-Xcode%2011.4-orange.svg?style=flat)](https://developer.apple.com/xcode/)
77
[![Carthage: compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
88
[![License: Apache](http://img.shields.io/badge/License-Apache-lightgrey.svg?style=flat)](https://raw.githubusercontent.com/objecthub/swift-lispkit/master/LICENSE)
99

@@ -285,7 +285,7 @@ command-line tool, all that is needed is the Swift Package Manager. For compilin
285285
the command-line tool directly in Xcode, the Swift Package Manager is not needed.
286286

287287
- [Swift 5.1](https://developer.apple.com/swift/)
288-
- [Xcode 11.3](https://developer.apple.com/xcode/)
288+
- [Xcode 11.4](https://developer.apple.com/xcode/)
289289
- [Swift Package Manager](https://swift.org/package-manager/)
290290
- [NumberKit](http://github.com/objecthub/swift-numberkit)
291291
- [MarkdownKit](http://github.com/objecthub/swift-markdownkit)

Sources/LispKit/Graphics/Drawing.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public final class Drawing: NativeObject {
136136
// Define a media box
137137
var mediaBox = NSRect(x: 0, y: 0, width: Double(width), height: Double(height))
138138
// Create a core graphics context suitable for drawing the image into a PDF file
139-
var pdfInfo = NSMutableDictionary()
139+
let pdfInfo = NSMutableDictionary()
140140
if let title = title {
141141
pdfInfo[kCGPDFContextTitle] = title
142142
}

Sources/LispKit/Graphics/DrawingDocument.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public final class DrawingDocument {
9393
return false
9494
}
9595
// Define PDF document information
96-
var pdfInfo: NSMutableDictionary = [
96+
let pdfInfo: NSMutableDictionary = [
9797
kCGPDFContextAllowsPrinting: (self.allowsPrinting ? kCFBooleanTrue : kCFBooleanFalse) as Any,
9898
kCGPDFContextAllowsCopying : (self.allowsCopying ? kCFBooleanTrue : kCFBooleanFalse) as Any
9999
]

Sources/LispKit/Runtime/GarbageCollector.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public final class GarbageCollector: ObjectMarker {
121121
switch expr {
122122
case .pair(_, _), .box(_), .mpair(_), .array(_), .vector(_), .record(_), .table(_),
123123
.promise(_), .values(_), .procedure(_), .special(_), .tagged(_, _), .error(_),
124-
.syntax(_):
124+
.syntax(_, _):
125125
self.backlog.append(expr)
126126
default:
127127
break

Sources/LispKit/Runtime/Instruction.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,10 +578,10 @@ public enum Instruction: CustomStringConvertible {
578578
return "push_char \(char)"
579579
case .pack(let n):
580580
return "pack \(n)"
581-
case .unpack(let n):
582-
return "unpack \(n)"
581+
case .unpack(let n, let all):
582+
return "unpack \(n), \(all ? "given" : "all")"
583583
case .makeClosure(let i, let n, let index):
584-
return "make_closure \(i),\(n),\(index)"
584+
return "make_closure \(i), \(n), \(index)"
585585
case .makePromise:
586586
return "make_promise"
587587
case .makeStream:

0 commit comments

Comments
 (0)