Created
May 9, 2019 21:16
-
-
Save broadwaylamb/67cddbc2b9e7b3c379695b73fe899307 to your computer and use it in GitHub Desktop.
incrParse test failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ➜ apple ./llvm/utils/lit/lit.py -sv ${SWIFT_BUILD_DIR}/test-macosx-x86_64/incrParse --filter=funcs.swift | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using swift: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using swiftc: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swiftc | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using sil-opt: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/sil-opt | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using sil-func-extractor: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/sil-func-extractor | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using sil-llvm-gen: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/sil-llvm-gen | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using sil-nm: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/sil-nm | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using sil-passpipeline-dumper: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/sil-passpipeline-dumper | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using lldb-moduleimport-test: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/lldb-moduleimport-test | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using swift-ide-test: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-ide-test | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using swift-syntax-test: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using swift-syntax-parser-test: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-parser-test | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using swift-reflection-dump: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-reflection-dump | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using swift-remoteast-test: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-remoteast-test | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using swift-format: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-format | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using clang: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/bin/clang | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using llvm-link: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/bin/llvm-link | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using swift-llvm-opt: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-llvm-opt | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using llvm-profdata: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/bin/llvm-profdata | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using llvm-cov: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/bin/llvm-cov | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using llvm-strings: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/bin/llvm-strings | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using FileCheck: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/bin/FileCheck | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using llvm-dwarfdump: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/bin/llvm-dwarfdump | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using llvm-dis: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/bin/llvm-dis | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using sourcekitd-test: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/sourcekitd-test | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using complete-test: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/complete-test | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using swift-api-digester: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-api-digester | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using swift-refactor: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-refactor | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using swift-demangle-yamldump: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-demangle-yamldump | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using Benchmark_O: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/Benchmark_O | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:247: note: using Benchmark_Driver: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/Benchmark_Driver | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:317: note: Using resource dir: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/lib/swift | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:344: note: Compiling with -swift-version 4 | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:360: note: Using Clang module cache: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/swift-test-results/x86_64-apple-macosx10.9/clang-module-cache | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:361: note: Using test results dir: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/./swift-test-results/x86_64-apple-macosx10.9 | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:366: note: Using code completion cache: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/swift-test-results/x86_64-apple-macosx10.9/completion-cache | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:754: note: Testing OS X x86_64-apple-macosx10.9 | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:783: note: Running tests on Mac OS X version 10.14.4 (18E226) | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:1297: note: Using platform module dir: /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/lib/swift/macosx | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:1316: note: Testing with the just-built libraries at /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/lib/swift/macosx | |
| lit.py: /Users/sergej/Developer/apple/swift/test/lit.cfg:1550: note: Available features: CMAKE_GENERATOR=Ninja, CODEGENERATOR=AArch64, CODEGENERATOR=ARM, CODEGENERATOR=Mips, CODEGENERATOR=PowerPC, CODEGENERATOR=SystemZ, CODEGENERATOR=X86, CPU=x86_64, OS=macosx, PTRSIZE=64, SWIFT_VERSION=4, asan_runtime, asserts, benchmark, c_runtime, crash-recovery, executable_test, foundation, fuzzer_runtime, libdispatch, libxml2, no_asan, no_lto, nonexecutable_test, objc_interop, optimized_stdlib, optimized_stdlib_x86_64, profile_runtime, runtime_function_counters, sftp_server, shell, sourcekit, swift-remoteast-test, swift_ast_verifier, swift_interpreter, swift_repl, swift_stdlib_asserts, swift_test_mode_optimize_none, swift_test_mode_optimize_none_x86_64, syntax_parser_lib, tsan_runtime, ubsan_runtime | |
| FAIL: Swift(macosx-x86_64) :: incrParse/funcs.swift (1 of 1) | |
| ******************** TEST 'Swift(macosx-x86_64) :: incrParse/funcs.swift' FAILED ******************** | |
| Script: | |
| -- | |
| : 'RUN: at line 1'; rm -rf "/Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp" && mkdir -p "/Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp" | |
| : 'RUN: at line 2'; /usr/local/opt/python@2/bin/python2.7 /Users/sergej/Developer/apple/swift/utils/incrparse/validate_parse.py --temp-dir /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp --swift-syntax-test /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test /Users/sergej/Developer/apple/swift/test/incrParse/funcs.swift --test-case NO_CHANGES | |
| : 'RUN: at line 3'; /usr/local/opt/python@2/bin/python2.7 /Users/sergej/Developer/apple/swift/utils/incrparse/validate_parse.py --temp-dir /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp --swift-syntax-test /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test /Users/sergej/Developer/apple/swift/test/incrParse/funcs.swift --test-case ADD_FUNC_PARENS | |
| : 'RUN: at line 4'; /usr/local/opt/python@2/bin/python2.7 /Users/sergej/Developer/apple/swift/utils/incrparse/validate_parse.py --temp-dir /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp --swift-syntax-test /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test /Users/sergej/Developer/apple/swift/test/incrParse/funcs.swift --test-case ADD_OPENING_BRACE | |
| : 'RUN: at line 5'; /usr/local/opt/python@2/bin/python2.7 /Users/sergej/Developer/apple/swift/utils/incrparse/validate_parse.py --temp-dir /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp --swift-syntax-test /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test /Users/sergej/Developer/apple/swift/test/incrParse/funcs.swift --test-case REMOVE_FUNC_KEYWORD | |
| : 'RUN: at line 6'; /usr/local/opt/python@2/bin/python2.7 /Users/sergej/Developer/apple/swift/utils/incrparse/validate_parse.py --temp-dir /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp --swift-syntax-test /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test /Users/sergej/Developer/apple/swift/test/incrParse/funcs.swift --test-case ADD_PARAM_NAME | |
| : 'RUN: at line 7'; /usr/local/opt/python@2/bin/python2.7 /Users/sergej/Developer/apple/swift/utils/incrparse/validate_parse.py --temp-dir /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp --swift-syntax-test /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test /Users/sergej/Developer/apple/swift/test/incrParse/funcs.swift --test-case ADD_PARAM_TYPE | |
| -- | |
| Exit Code: 1 | |
| Command Output (stdout): | |
| -- | |
| /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test -serialize-raw-tree -input-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.NO_CHANGES.pre.swift -output-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.NO_CHANGES.pre.swift.serialized.json | |
| /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test -serialize-raw-tree -output-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/funcs.swift.NO_CHANGES.postViaIncr.json -omit-node-ids -input-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.NO_CHANGES.post.swift -old-syntax-tree-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.NO_CHANGES.pre.swift.serialized.json --old-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.NO_CHANGES.pre.swift | |
| /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test -serialize-raw-tree -output-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/funcs.swift.NO_CHANGES.post.json -omit-node-ids -input-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.NO_CHANGES.post.swift | |
| /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test -serialize-raw-tree -input-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.ADD_FUNC_PARENS.pre.swift -output-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.ADD_FUNC_PARENS.pre.swift.serialized.json | |
| /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test -serialize-raw-tree -output-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/funcs.swift.ADD_FUNC_PARENS.postViaIncr.json -omit-node-ids -input-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.ADD_FUNC_PARENS.post.swift -old-syntax-tree-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.ADD_FUNC_PARENS.pre.swift.serialized.json --old-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.ADD_FUNC_PARENS.pre.swift -incremental-edit 16:19-16:19=() | |
| /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test -serialize-raw-tree -output-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/funcs.swift.ADD_FUNC_PARENS.post.json -omit-node-ids -input-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.ADD_FUNC_PARENS.post.swift | |
| /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test -serialize-raw-tree -input-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.ADD_OPENING_BRACE.pre.swift -output-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.ADD_OPENING_BRACE.pre.swift.serialized.json | |
| /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test -serialize-raw-tree -output-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/funcs.swift.ADD_OPENING_BRACE.postViaIncr.json -omit-node-ids -input-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.ADD_OPENING_BRACE.post.swift -old-syntax-tree-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.ADD_OPENING_BRACE.pre.swift.serialized.json --old-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.ADD_OPENING_BRACE.pre.swift | |
| /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test -serialize-raw-tree -output-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/funcs.swift.ADD_OPENING_BRACE.post.json -omit-node-ids -input-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.ADD_OPENING_BRACE.post.swift | |
| /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test -serialize-raw-tree -input-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.REMOVE_FUNC_KEYWORD.pre.swift -output-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.REMOVE_FUNC_KEYWORD.pre.swift.serialized.json | |
| /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test -serialize-raw-tree -output-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/funcs.swift.REMOVE_FUNC_KEYWORD.postViaIncr.json -omit-node-ids -input-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.REMOVE_FUNC_KEYWORD.post.swift -old-syntax-tree-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.REMOVE_FUNC_KEYWORD.pre.swift.serialized.json --old-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.REMOVE_FUNC_KEYWORD.pre.swift -incremental-edit 25:3-25:7= | |
| /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test -serialize-raw-tree -output-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/funcs.swift.REMOVE_FUNC_KEYWORD.post.json -omit-node-ids -input-source-filename /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/temp/funcs.swift.REMOVE_FUNC_KEYWORD.post.swift | |
| -- | |
| Command Output (stderr): | |
| -- | |
| Test case "REMOVE_FUNC_KEYWORD" of /Users/sergej/Developer/apple/swift/test/incrParse/funcs.swift FAILed | |
| Syntax tree of incremental parsing does not match from-scratch parsing of post-edit file: | |
| --- /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/funcs.swift.REMOVE_FUNC_KEYWORD.postViaIncr.json | |
| +++ /Users/sergej/Developer/apple/build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/incrParse/Output/funcs.swift.tmp/funcs.swift.REMOVE_FUNC_KEYWORD.postViaIncr.json | |
| @@ -321,10 +321,8 @@ | |
| "kind": "CodeBlockItem", | |
| "layout": [ | |
| { | |
| - "kind": "ClassDecl", | |
| + "kind": "UnknownDecl", | |
| "layout": [ | |
| - null, | |
| - null, | |
| { | |
| "tokenKind": { | |
| "kind": "kw_class" | |
| @@ -357,11 +355,8 @@ | |
| ], | |
| "presence": "Present" | |
| }, | |
| - null, | |
| - null, | |
| - null, | |
| { | |
| - "kind": "MemberDeclBlock", | |
| + "kind": "Unknown", | |
| "layout": [ | |
| { | |
| "tokenKind": { | |
| @@ -372,7 +367,7 @@ | |
| "presence": "Present" | |
| }, | |
| { | |
| - "kind": "MemberDeclList", | |
| + "kind": "Unknown", | |
| "layout": [ | |
| { | |
| "kind": "MemberDeclListItem", | |
| @@ -554,889 +549,523 @@ | |
| "presence": "Present" | |
| }, | |
| { | |
| - "kind": "MemberDeclListItem", | |
| + "kind": "Unknown", | |
| "layout": [ | |
| { | |
| - "kind": "UnknownDecl", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "oper_binary_spaced", | |
| - "text": "<" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "Unknown", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "l_angle" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "GenericParameterList", | |
| - "layout": [ | |
| - { | |
| - "kind": "GenericParameter", | |
| - "layout": [ | |
| - null, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "identifier", | |
| - "text": "ADD_OPENING_BRACE" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "oper_binary_unspaced", | |
| - "text": "|||" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "Unknown", | |
| - "layout": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "CodeBlock", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "l_brace" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "CodeBlockItemList", | |
| - "layout": [ | |
| - { | |
| - "kind": "CodeBlockItem", | |
| - "layout": [ | |
| - { | |
| - "kind": "UnknownExpr", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "oper_prefix", | |
| - "text": ">>>" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "CodeBlockItem", | |
| - "layout": [ | |
| - { | |
| - "kind": "FunctionDecl", | |
| - "layout": [ | |
| - null, | |
| - null, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "kw_func" | |
| - }, | |
| - "leadingTrivia": [ | |
| - { | |
| - "kind": "Newline", | |
| - "value": 2 | |
| - }, | |
| - { | |
| - "kind": "Space", | |
| - "value": 2 | |
| - } | |
| - ], | |
| - "trailingTrivia": [ | |
| - { | |
| - "kind": "Space", | |
| - "value": 1 | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "identifier", | |
| - "text": "closingBraceAdded" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - { | |
| - "kind": "FunctionSignature", | |
| - "layout": [ | |
| - { | |
| - "kind": "ParameterClause", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "l_paren" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "FunctionParameterList", | |
| - "layout": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "r_paren" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [ | |
| - { | |
| - "kind": "Space", | |
| - "value": 1 | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - { | |
| - "kind": "CodeBlock", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "l_brace" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "CodeBlockItemList", | |
| - "layout": [ | |
| - { | |
| - "kind": "CodeBlockItem", | |
| - "layout": [ | |
| - { | |
| - "kind": "PrefixOperatorExpr", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "oper_prefix", | |
| - "text": "<<" | |
| - }, | |
| - "leadingTrivia": [ | |
| - { | |
| - "kind": "Newline", | |
| - "value": 2 | |
| - }, | |
| - { | |
| - "kind": "Space", | |
| - "value": 2 | |
| - } | |
| - ], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "PostfixUnaryExpr", | |
| - "layout": [ | |
| - { | |
| - "kind": "IdentifierExpr", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "identifier", | |
| - "text": "ADD_ClOSING_BRACE" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "oper_postfix", | |
| - "text": "|||" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "r_brace" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "CodeBlockItem", | |
| - "layout": [ | |
| - { | |
| - "kind": "PrefixOperatorExpr", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "oper_prefix", | |
| - "text": ">>>" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "FunctionCallExpr", | |
| - "layout": [ | |
| - { | |
| - "kind": "IdentifierExpr", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "identifier", | |
| - "text": "funcKeywordRemoved" | |
| - }, | |
| - "leadingTrivia": [ | |
| - { | |
| - "kind": "Newline", | |
| - "value": 2 | |
| - }, | |
| - { | |
| - "kind": "Space", | |
| - "value": 3 | |
| - } | |
| - ], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "l_paren" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "FunctionCallArgumentList", | |
| - "layout": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "r_paren" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [ | |
| - { | |
| - "kind": "Space", | |
| - "value": 1 | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "ClosureExpr", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "l_brace" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - { | |
| - "kind": "CodeBlockItemList", | |
| - "layout": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "r_brace" | |
| - }, | |
| - "leadingTrivia": [ | |
| - { | |
| - "kind": "Newline", | |
| - "value": 2 | |
| - }, | |
| - { | |
| - "kind": "Space", | |
| - "value": 2 | |
| - } | |
| - ], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "CodeBlockItem", | |
| - "layout": [ | |
| - { | |
| - "kind": "FunctionDecl", | |
| - "layout": [ | |
| - null, | |
| - null, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "kw_func" | |
| - }, | |
| - "leadingTrivia": [ | |
| - { | |
| - "kind": "Newline", | |
| - "value": 2 | |
| - }, | |
| - { | |
| - "kind": "Space", | |
| - "value": 2 | |
| - } | |
| - ], | |
| - "trailingTrivia": [ | |
| - { | |
| - "kind": "Space", | |
| - "value": 1 | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "identifier", | |
| - "text": "addingParamName" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - { | |
| - "kind": "FunctionSignature", | |
| - "layout": [ | |
| - { | |
| - "kind": "ParameterClause", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "l_paren" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "FunctionParameterList", | |
| - "layout": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "r_paren" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [ | |
| - { | |
| - "kind": "Space", | |
| - "value": 1 | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - { | |
| - "kind": "CodeBlock", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "l_brace" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "CodeBlockItemList", | |
| - "layout": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "r_brace" | |
| - }, | |
| - "leadingTrivia": [ | |
| - { | |
| - "kind": "Newline", | |
| - "value": 2 | |
| - }, | |
| - { | |
| - "kind": "Space", | |
| - "value": 2 | |
| - } | |
| - ], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "CodeBlockItem", | |
| - "layout": [ | |
| - { | |
| - "kind": "FunctionDecl", | |
| - "layout": [ | |
| - null, | |
| - null, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "kw_func" | |
| - }, | |
| - "leadingTrivia": [ | |
| - { | |
| - "kind": "Newline", | |
| - "value": 2 | |
| - }, | |
| - { | |
| - "kind": "Space", | |
| - "value": 2 | |
| - } | |
| - ], | |
| - "trailingTrivia": [ | |
| - { | |
| - "kind": "Space", | |
| - "value": 1 | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "identifier", | |
| - "text": "addingParamColon" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - { | |
| - "kind": "FunctionSignature", | |
| - "layout": [ | |
| - { | |
| - "kind": "ParameterClause", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "l_paren" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "FunctionParameterList", | |
| - "layout": [ | |
| - { | |
| - "kind": "FunctionParameter", | |
| - "layout": [ | |
| - null, | |
| - null, | |
| - null, | |
| - null, | |
| - { | |
| - "kind": "SimpleTypeIdentifier", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "identifier", | |
| - "text": "arg" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "r_paren" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [ | |
| - { | |
| - "kind": "Space", | |
| - "value": 1 | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - { | |
| - "kind": "CodeBlock", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "l_brace" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "CodeBlockItemList", | |
| - "layout": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "r_brace" | |
| - }, | |
| - "leadingTrivia": [ | |
| - { | |
| - "kind": "Newline", | |
| - "value": 1 | |
| - }, | |
| - { | |
| - "kind": "Space", | |
| - "value": 2 | |
| - }, | |
| - { | |
| - "kind": "Tab", | |
| - "value": 1 | |
| - }, | |
| - { | |
| - "kind": "Newline", | |
| - "value": 1 | |
| - }, | |
| - { | |
| - "kind": "Space", | |
| - "value": 2 | |
| - } | |
| - ], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "CodeBlockItem", | |
| - "layout": [ | |
| - { | |
| - "kind": "FunctionDecl", | |
| - "layout": [ | |
| - null, | |
| - null, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "kw_func" | |
| - }, | |
| - "leadingTrivia": [ | |
| - { | |
| - "kind": "Newline", | |
| - "value": 2 | |
| - }, | |
| - { | |
| - "kind": "Space", | |
| - "value": 2 | |
| - } | |
| - ], | |
| - "trailingTrivia": [ | |
| - { | |
| - "kind": "Space", | |
| - "value": 1 | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "identifier", | |
| - "text": "addingParamType" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - { | |
| - "kind": "FunctionSignature", | |
| - "layout": [ | |
| - { | |
| - "kind": "ParameterClause", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "l_paren" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "FunctionParameterList", | |
| - "layout": [ | |
| - { | |
| - "kind": "FunctionParameter", | |
| - "layout": [ | |
| - null, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "identifier", | |
| - "text": "arg" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "colon" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "r_paren" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [ | |
| - { | |
| - "kind": "Space", | |
| - "value": 1 | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - { | |
| - "kind": "CodeBlock", | |
| - "layout": [ | |
| - { | |
| - "tokenKind": { | |
| - "kind": "l_brace" | |
| - }, | |
| - "leadingTrivia": [], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "kind": "CodeBlockItemList", | |
| - "layout": [], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "r_brace" | |
| - }, | |
| - "leadingTrivia": [ | |
| - { | |
| - "kind": "Newline", | |
| - "value": 1 | |
| - }, | |
| - { | |
| - "kind": "Space", | |
| - "value": 2 | |
| - }, | |
| - { | |
| - "kind": "Tab", | |
| - "value": 1 | |
| - }, | |
| - { | |
| - "kind": "Newline", | |
| - "value": 1 | |
| - }, | |
| - { | |
| - "kind": "Space", | |
| - "value": 2 | |
| - } | |
| - ], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null, | |
| - null | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - { | |
| - "tokenKind": { | |
| - "kind": "r_brace" | |
| - }, | |
| - "leadingTrivia": [ | |
| - { | |
| - "kind": "Newline", | |
| - "value": 1 | |
| - } | |
| - ], | |
| - "trailingTrivia": [], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - } | |
| - ], | |
| - "presence": "Present" | |
| - }, | |
| - null | |
| + "tokenKind": { | |
| + "kind": "oper_prefix", | |
| + "text": "<<" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "identifier", | |
| + "text": "ADD_OPENING_BRACE" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "oper_binary_unspaced", | |
| + "text": "|||" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "l_brace" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "oper_binary_spaced", | |
| + "text": ">>>" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "kw_func" | |
| + }, | |
| + "leadingTrivia": [ | |
| + { | |
| + "kind": "Newline", | |
| + "value": 2 | |
| + }, | |
| + { | |
| + "kind": "Space", | |
| + "value": 2 | |
| + } | |
| + ], | |
| + "trailingTrivia": [ | |
| + { | |
| + "kind": "Space", | |
| + "value": 1 | |
| + } | |
| + ], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "identifier", | |
| + "text": "closingBraceAdded" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "l_paren" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "r_paren" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [ | |
| + { | |
| + "kind": "Space", | |
| + "value": 1 | |
| + } | |
| + ], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "l_brace" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "oper_prefix", | |
| + "text": "<<" | |
| + }, | |
| + "leadingTrivia": [ | |
| + { | |
| + "kind": "Newline", | |
| + "value": 2 | |
| + }, | |
| + { | |
| + "kind": "Space", | |
| + "value": 2 | |
| + } | |
| + ], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "identifier", | |
| + "text": "ADD_ClOSING_BRACE" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "oper_postfix", | |
| + "text": "|||" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "r_brace" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "oper_postfix", | |
| + "text": ">>>" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "identifier", | |
| + "text": "funcKeywordRemoved" | |
| + }, | |
| + "leadingTrivia": [ | |
| + { | |
| + "kind": "Newline", | |
| + "value": 2 | |
| + }, | |
| + { | |
| + "kind": "Space", | |
| + "value": 3 | |
| + } | |
| + ], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "l_paren" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "r_paren" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [ | |
| + { | |
| + "kind": "Space", | |
| + "value": 1 | |
| + } | |
| + ], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "l_brace" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "r_brace" | |
| + }, | |
| + "leadingTrivia": [ | |
| + { | |
| + "kind": "Newline", | |
| + "value": 2 | |
| + }, | |
| + { | |
| + "kind": "Space", | |
| + "value": 2 | |
| + } | |
| + ], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "kw_func" | |
| + }, | |
| + "leadingTrivia": [ | |
| + { | |
| + "kind": "Newline", | |
| + "value": 2 | |
| + }, | |
| + { | |
| + "kind": "Space", | |
| + "value": 2 | |
| + } | |
| + ], | |
| + "trailingTrivia": [ | |
| + { | |
| + "kind": "Space", | |
| + "value": 1 | |
| + } | |
| + ], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "identifier", | |
| + "text": "addingParamName" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "l_paren" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "r_paren" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [ | |
| + { | |
| + "kind": "Space", | |
| + "value": 1 | |
| + } | |
| + ], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "l_brace" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "r_brace" | |
| + }, | |
| + "leadingTrivia": [ | |
| + { | |
| + "kind": "Newline", | |
| + "value": 2 | |
| + }, | |
| + { | |
| + "kind": "Space", | |
| + "value": 2 | |
| + } | |
| + ], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "kw_func" | |
| + }, | |
| + "leadingTrivia": [ | |
| + { | |
| + "kind": "Newline", | |
| + "value": 2 | |
| + }, | |
| + { | |
| + "kind": "Space", | |
| + "value": 2 | |
| + } | |
| + ], | |
| + "trailingTrivia": [ | |
| + { | |
| + "kind": "Space", | |
| + "value": 1 | |
| + } | |
| + ], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "identifier", | |
| + "text": "addingParamColon" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "l_paren" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "identifier", | |
| + "text": "arg" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "r_paren" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [ | |
| + { | |
| + "kind": "Space", | |
| + "value": 1 | |
| + } | |
| + ], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "l_brace" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "r_brace" | |
| + }, | |
| + "leadingTrivia": [ | |
| + { | |
| + "kind": "Newline", | |
| + "value": 1 | |
| + }, | |
| + { | |
| + "kind": "Space", | |
| + "value": 2 | |
| + }, | |
| + { | |
| + "kind": "Tab", | |
| + "value": 1 | |
| + }, | |
| + { | |
| + "kind": "Newline", | |
| + "value": 1 | |
| + }, | |
| + { | |
| + "kind": "Space", | |
| + "value": 2 | |
| + } | |
| + ], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "kw_func" | |
| + }, | |
| + "leadingTrivia": [ | |
| + { | |
| + "kind": "Newline", | |
| + "value": 2 | |
| + }, | |
| + { | |
| + "kind": "Space", | |
| + "value": 2 | |
| + } | |
| + ], | |
| + "trailingTrivia": [ | |
| + { | |
| + "kind": "Space", | |
| + "value": 1 | |
| + } | |
| + ], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "identifier", | |
| + "text": "addingParamType" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "l_paren" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "identifier", | |
| + "text": "arg" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "colon" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "r_paren" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [ | |
| + { | |
| + "kind": "Space", | |
| + "value": 1 | |
| + } | |
| + ], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "l_brace" | |
| + }, | |
| + "leadingTrivia": [], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "r_brace" | |
| + }, | |
| + "leadingTrivia": [ | |
| + { | |
| + "kind": "Newline", | |
| + "value": 1 | |
| + }, | |
| + { | |
| + "kind": "Space", | |
| + "value": 2 | |
| + }, | |
| + { | |
| + "kind": "Tab", | |
| + "value": 1 | |
| + }, | |
| + { | |
| + "kind": "Newline", | |
| + "value": 1 | |
| + }, | |
| + { | |
| + "kind": "Space", | |
| + "value": 2 | |
| + } | |
| + ], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + }, | |
| + { | |
| + "tokenKind": { | |
| + "kind": "r_brace" | |
| + }, | |
| + "leadingTrivia": [ | |
| + { | |
| + "kind": "Newline", | |
| + "value": 1 | |
| + } | |
| + ], | |
| + "trailingTrivia": [], | |
| + "presence": "Present" | |
| + } | |
| ], | |
| "presence": "Present" | |
| } | |
| -- | |
| ******************** | |
| Testing Time: 0.62s | |
| ******************** | |
| Failing Tests (1): | |
| Swift(macosx-x86_64) :: incrParse/funcs.swift | |
| Unexpected Failures: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment