Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -374,12 +374,7 @@ Binding firstTargetBinding(Evaluator eval)
throws FusionException
{
SyntaxSymbol first = firstIdentifier(eval);
if (first != null)
{
Binding binding = first.uncachedResolveMaybe();
if (binding != null) return binding.target();
}
return null;
return (first == null) ? null : first.resolve().target();
}

/**
Expand Down
15 changes: 0 additions & 15 deletions runtime/src/main/java/dev/ionfusion/fusion/SyntaxSymbol.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,21 +141,6 @@ Binding resolve()
}


/**
* Resolves this identifier, but doesn't cache the result if it has not
* been previously resolved.
*
* @return null is equivalent to a {@link FreeBinding}, and either may be
* returned.
*/
Binding uncachedResolveMaybe()
{
if (myBoundId != null) return myBoundId.getBinding();

return myWraps.resolveMaybe(getName());
}


/**
* Copies this identifier, caching a top-resolved binding.
* @return not null.
Expand Down
Loading