Commit 1af4225
committed
Add another guard for the previous check-in for resolveImp() function
Do not overload the symbol if its scope is the same as the current
scope. That is, in the case where symbol is an interface, its scope
is its enclosing module (when the interface is defined in a
module). If the symbol is a procedure, then its scope is itself.
Therefore, also look at SCOPEG(scope) in this case.1 parent a8ae1a0 commit 1af4225
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1360 | 1360 | | |
1361 | 1361 | | |
1362 | 1362 | | |
| 1363 | + | |
1363 | 1364 | | |
1364 | 1365 | | |
1365 | | - | |
| 1366 | + | |
1366 | 1367 | | |
1367 | 1368 | | |
1368 | 1369 | | |
| |||
0 commit comments