Skip to content
Snippets Groups Projects
Commit adcb0b1a authored by Florian Angerer's avatar Florian Angerer
Browse files

Naming conventions.

parent e3843aab
No related branches found
No related tags found
No related merge requests found
......@@ -61,10 +61,10 @@ public abstract class Rm extends RBuiltinNode.Arg3 {
@Specialization
@TruffleBoundary
protected Object rm(RAbstractStringVector list, REnvironment envir, boolean inherits,
@Cached("createSlowPath(list)") VectorAccess access) {
try (SequentialIterator access2 = access.access(list)) {
while (access.next(access2)) {
String key = access.getString(access2);
@Cached("createSlowPath(list)") VectorAccess listAccess) {
try (SequentialIterator listIter = listAccess.access(list)) {
while (listAccess.next(listIter)) {
String key = listAccess.getString(listIter);
if (!removeFromEnv(envir, key, inherits)) {
warning(RError.Message.UNKNOWN_OBJECT, key);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment