// swift-tools-version:4.1

import PackageDescription

let package = Package(
	name: "FootlessParser",
	products: [
		.library(name: "FootlessParser",	targets: ["FootlessParser"]),
		],
	targets: [
		.target(name: "FootlessParser"),
		.testTarget(name: "FootlessParserTests", dependencies: ["FootlessParser"]),
		]
)

// swift-tools-version:4.2

import PackageDescription

let package = Package(
	name: "FootlessParser",
	products: [
		.library(name: "FootlessParser",	targets: ["FootlessParser"]),
		],
	targets: [
		.target(name: "FootlessParser"),
		.testTarget(name: "FootlessParserTests", dependencies: ["FootlessParser"]),
		],
	swiftLanguageVersions: [.v4_2]
)

--- 
+++ 
@@ -1,4 +1,4 @@
-// swift-tools-version:4.2
+// swift-tools-version:4.1
 
 import PackageDescription
 
@@ -10,6 +10,5 @@
 	targets: [
 		.target(name: "FootlessParser"),
 		.testTarget(name: "FootlessParserTests", dependencies: ["FootlessParser"]),
-		],
-	swiftLanguageVersions: [.v4_2]
+		]
 )
Enable compiling with both Swift 4.1 and 4.2.
