Skip to content

Commit

Permalink
Type unstable rules
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Jun 21, 2024
1 parent 6b01be1 commit 727c604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/typeunstablerules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ function common_newstructv_fwd(offset, B, orig, gutils, normalR, shadowR)
end

if !newstruct_common(#=fwd=#true, #=run=#true, offset, B, orig, gutils, normalR, shadowR)
abs_partial = [abs_typeof(v, true) for v in origops[offset+1:end-1]]
origops = collect(operands(orig))
abs_partial = [abs_typeof(v, true) for v in origops[offset+1:end-1]]
emit_error(B, orig, "Enzyme: Not yet implemented, mixed activity for jl_new_struct constants="*string(icvs)*" "*string(orig)*" "*string(abs)*" "*string([v for v in origops[offset+1:end-1]]))
end

Expand Down

0 comments on commit 727c604

Please sign in to comment.