@Override
	public AssemblyResolution solve(RecursiveDescentSolver solver, Map<String, Long> vals,
			AssemblyResolvedPatterns cur) {
		try {
			AssemblyResolution ar =
				solver.solve(factory, exp, goal, vals, cur.truncate(offset), description);
			if (ar.isError()) {
				return ar;
			}
			AssemblyResolvedPatterns rc = (AssemblyResolvedPatterns) ar;
			return rc.shift(offset);
		}
		catch (NeedsBackfillException e) {
			return factory.newErrorBuilder()
					.error("Solution still requires backfill")
					.description(description)
					.build();
		}
		catch (UnsupportedOperationException e) {
			return factory.newErrorBuilder()
					.error("Unsupported: " + e.getMessage())
					.description(description)
					.build();
		}
	}
Duplicate this record

@return the duplicate
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/sem/DefaultAssemblyResolvedBackfill.java