Resource variable deletion logic moved to resource list (fix for safe delete and inline)

This commit is contained in:
Roman Shevchenko
2011-03-11 21:12:42 +01:00
parent 27b1cf23ed
commit a8dcf9e9c8
5 changed files with 51 additions and 17 deletions
@@ -0,0 +1,6 @@
class ARM {
void f() {
try (AutoCloseable <caret>r = null) {
}
}
}
@@ -0,0 +1,6 @@
class ARM {
void f() {
try {
}
}
}