module scheme // Global values can change without changing name-resolution epochs. Primitive // generic installation can also change an existing Procedure's protocol. Keep // these changes distinct from the public binding topology and syntax identity. @[inline] fn (vm &VM) invalidate_native_bindings() { $if vile_native ? { if !isnil(vm.native_execution_scope) { mut scope := unsafe { &NativeScope(vm.native_execution_scope) } scope.binding_revision++ if scope.binding_revision == 0 { for i in 0 .. scope.plans.len { scope.plans[i].guards_valid = false } } } } }