Add postfix completion for unsafe.

Wrap receiver_text with { } if it's not a BlockExpr.
This commit is contained in:
Duong Quoc Khanh 2023-02-07 23:55:44 +09:00
parent 1d32a7b7c6
commit a7df61f1d3
No known key found for this signature in database
GPG key ID: DA52A74E804A00E7
4 changed files with 118 additions and 83 deletions

View file

@ -1691,6 +1691,7 @@ fn main() {
sn while []
sn ref []
sn refm []
sn unsafe []
sn match []
sn box []
sn dbg []
@ -1718,6 +1719,7 @@ fn main() {
me f() []
sn ref []
sn refm []
sn unsafe []
sn match []
sn box []
sn dbg []