Commit fee2336
authored
Recognize Core.declare_const in get_lhs_rhs (#129)
This is the minimal change to get Revise working with JuliaLang/julia#57470.
Comparison of lowering of `const foo = 1`:
1.11: Expr(:const, :foo), Expr(:(=), :foo, 1) (with edge 2 -> 1)
1.12: Expr(:const, :foo, 1)
1.13: Expr(:call, Core.declare_const, :foo, 1)1 parent d821711 commit fee2336
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
209 | | - | |
| 210 | + | |
| 211 | + | |
210 | 212 | | |
211 | 213 | | |
212 | 214 | | |
| |||
0 commit comments