Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle committed Feb 18, 2024
1 parent e4dc484 commit 810daba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bosk-core/src/main/java/io/vena/bosk/Bosk.java
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ public <T> void registerHook(String name, @NonNull Reference<T> scope, @NonNull
localDriver.triggerEverywhere(reg);
}

@Override
public void registerHooks(Object receiver) throws InvalidTypeException {
HookRegistrar.registerHooks(receiver, this);
}
Expand Down Expand Up @@ -1026,7 +1027,7 @@ public void forEachValue(BiConsumer<T, BindingEnvironment> action, BindingEnviro
* correspond to an {@link Identifier} that can be looked up in an
* object that implements {@link EnumerableByIdentifier}. (We are
* not offering to use reflection to look up object fields by name here.)
*
* <p>
* TODO: This is not currently checked or enforced; it will just cause confusing crashes.
* It should throw {@link InvalidTypeException} at the time the Reference is created.
*/
Expand Down

0 comments on commit 810daba

Please sign in to comment.