Skip to content

Commit

Permalink
Ensure no writes to wrong archetypes!
Browse files Browse the repository at this point in the history
  • Loading branch information
wolandscat committed Oct 17, 2024
1 parent d03dcfc commit e524cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/adlc/src/main/terminology_bindings_injector.e
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ feature -- Commands
-- save last archetype changes
save_changes (ara)

diff_arch := Void
if attached {ARCH_LIB_AUTHORED_ARCHETYPE} current_library.archetype_matching_ref (arch_ref) as arch_desc then
ara := arch_desc

if attached {AUTHORED_ARCHETYPE} ara.differential_archetype as da then
diff_arch := da
else
Expand Down

0 comments on commit e524cf9

Please sign in to comment.