refactor: Update getReportMessage function to handle unsupported nested context types

This commit is contained in:
Venkatesh Kotwade 2024-08-25 03:12:41 +05:30
parent 99d25865c2
commit e482fa4d35

View file

@ -85,7 +85,7 @@ func getReportMessage(node ast.Node) string {
case *ast.FuncLit: case *ast.FuncLit:
return "nested context in function literal" return "nested context in function literal"
default: default:
return "nested context" return "unsupported nested context type"
} }
} }