d7f23f0beb
Previously we were trying to access a field of the analysis object before checking if analysis produced errors. The analysis function usually returns a nil analysis on error, so this would result in a panic whenever that happened. Now we'll dereference the analysis object pointer only after checking for errors, so we'll get a chance to report the analysis error to the user. |
||
---|---|---|
.. | ||
test-fixtures | ||
analysis.go | ||
analysis_expr.go | ||
doc.go | ||
module_sources.go | ||
module_sources_test.go | ||
upgrade.go | ||
upgrade_body.go | ||
upgrade_expr.go | ||
upgrade_native.go | ||
upgrade_test.go | ||
upgrader.go |