]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/dispatch.cpp
Put brackets around ipv6 addresses in `inet6 present`
[factor.git] / vm / dispatch.cpp
index 4e44512201eebd2a92a32848848291d1098d9347..810f5eb83ee79543c3a0826378316cbc789b9d82 100644 (file)
@@ -40,7 +40,7 @@ cell factor_vm::lookup_tuple_method(cell obj, cell methods) {
   while (echelon >= 0) {
     cell echelon_methods = array_nth(echelons, echelon);
 
-    if (tagged<object>(echelon_methods).type() == WORD_TYPE)
+    if (TAG(echelon_methods) == WORD_TYPE)
       return echelon_methods;
     else if (to_boolean(echelon_methods)) {
       cell klass = nth_superclass(layout, echelon);