Commit 6a3ca6d
committed
[Performance Hints] Disable performance hints if typechecker skips some function bodies
If `SkipFunctionBodies` is not `None`, functions that are inlinable or not used
for the result are not typechecked. The absence of type information crashes the
performance hint analyzer. This change prevents the analyzer from running in
these cases.1 parent c978386 commit 6a3ca6d
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments