             "foo.bar()\n",
             "foo.reduce(0) { $0 + 1 }\n",
             "if let foo = bar.map({ $0 + 1 }) { }\n",
-            "foo.something(0, { $0 + 1 })\n",
             "foo.something(param1: { $0 }, param2: { $0 + 1 })\n",
             "offsets.sorted { $0.offset < $1.offset }\n"
         ],
         triggeringExamples: [
             "↓foo.map({ $0 + 1 })\n",
             "↓foo.reduce(0, combine: { $0 + 1 })\n",
-            "↓offsets.sorted(by: { $0.offset < $1.offset })\n"
+            "↓offsets.sorted(by: { $0.offset < $1.offset })\n",
+            "↓foo.something(0, { $0 + 1 })\n"
         ]
     )
 

            let range = file.contents.bridge().byteRangeToNSRange(start: start, length: length),
            let match = regex("\\s*\\(\\s*\\{").firstMatch(in: file.contents, options: [], range: range)?.range,
            match.location == range.location {
            return true
        }

        return false

    }

    private func shouldBeTrailingClosure(dictionary: [String: SourceKitRepresentable], file: File) -> Bool {
        func isTrailingClosure() -> Bool {
            return isAlreadyTrailingClosure(dictionary: dictionary, file: file)
        }

        let arguments = dictionary.enclosedArguments

        // check if last parameter should be trailing closure
