Skip to content

Commit

Permalink
Update assertion/function/assertiontree/root_assertion_node.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sonal Mahajan <101232472+sonalmahajan15@users.noreply.github.com>
  • Loading branch information
yuxincs and sonalmahajan15 committed Feb 2, 2024
1 parent 280c115 commit 1529801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assertion/function/assertiontree/root_assertion_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ func (r *RootAssertionNode) AddComputation(expr ast.Expr) {
// (1) falls out of scope of NilAway, and we have a lot of valid Go code that receives
// from nil channels (e.g., select statements with nilable channels). So we do not create
// consumer for the channel variable here. For (2), since we currently do not track the
// state of channels, we currently can not support it either.
// state of channels, we currently cannot support it either.
// TODO: rethink our strategy of handling channels (#192).
r.AddComputation(expr.X)
case *ast.FuncLit:
Expand Down

0 comments on commit 1529801

Please sign in to comment.