// RUN: %empty-directory(%t) // RUN: %validate-incrparse %s --test-case ADD_PROPERTY // RUN: %validate-incrparse %s --test-case WRAP_IN_CLASS // RUN: %validate-incrparse %s --test-case UNWRAP_CLASS // RUN: %validate-incrparse %s --test-case NEXT_TOKEN_CALCULATION func start() {} struct Foo { let a: Int let b: Int let c: Int let d: String <>> let f: Int let g: Int } // FIXME: The functions inside the class should not need to get reparsed <>> func foo1() { print("Hello Foo!") } func foo2() { print("Hello again") } <>> func bar1() { let pi = 3.1415 print("Pi is (approximately) \(pi)") } func bar2() { print("I can compute Pi as well:") bar1() } } // The indentation on these lines is important for the test case let a = "hello" let c = "<>>world"