Commits
Greg Clayton committed 61c4e6f1a41
The command-line REPL doesn't accept pastes properly when it contains a if/else.
The problem was the IndentPrefix for the following 3 lines:
if a ==12 {
println("if")
} else {
was returning " } " as the indent prefix. The indent prefix should always be spaces, so now we trim off anything past any non-space characters.
<rdar://problem/17172600>
Swift SVN r18878