Hi swift devs,

I'm working on SR-4464 to learn how to contribute to Swift. I think I
have the solution, but I'm getting unexpected results.

I'm using the swift repl within Xcode for testing. Here's my test code.

var name = "name"
name = (name)

In TypeChecker::diagnoseSelfAssignment in CSDiag.cpp, the src of the
AssignExpr is a plain Expr *, but I would expect it to be a ParenExpr
*. Could someone help me figure out what's happening?

Thanks,
Halen
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to