Sorbet/Sorbet — Issue #20: Issues with filtering to avoid mistakenly logging varCreated
Author: jrs213
Created: 2011-12-14 20:25:55+00:00
State: open
Labels: Bug

#7 is mostly fixed, however, a few issues remain:

1. If a variable is declared with the same name afterwords, the output is incorrect, for example:

```java
System.out.println();

int System = 6;
```
This logs that `System` was declared on the top line with type `UNKNOWN`.

2. If a variable has the same name as a class variable, it is never logged. For example, if we have the following code:

```java
public class Test {
private int System;

public void Test() {
System++;
}
}
```
This won't log that `System` was used in method `Test()`.