Fix VariableRead/WriteAcess for instance and class variables

This commit is contained in:
Arthur Baars
2021-03-09 13:55:55 +01:00
parent 61b3aa8f27
commit f28071ceb6
2 changed files with 19 additions and 14 deletions

View File

@@ -349,7 +349,12 @@ private module Cached {
}
private class Access extends Generated::Token {
Access() { access(this, _) or this instanceof Generated::GlobalVariable }
Access() {
access(this, _) or
this instanceof Generated::GlobalVariable or
this instanceof Generated::InstanceVariable or
this instanceof Generated::ClassVariable
}
}
cached