Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenLooman committed May 13, 2024
1 parent 252be5b commit 50b7a9a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ _private _method datamodel_type_dumper.get_type_name_for_collection(coll)
_local globl << method_table.meta_at(:exemplar_global)
_local pkg << globl.package
_local key << globl.key
_return defintion.name_from_type(pkg, key)
_return definition.name_from_type(pkg, key)
_endmethod
$

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ _private _method type_dumper.int!run()

# Write intro.
_self.write_line("// Smallworld version: ", system.sw!version_string)
_self.write_line("// self type: ", definition.self_type)
_self.write_line("// undefined type: ", definition.undefined_type)
_self.write_line("// undefined result: ", definition.undefined_result)
_self.write_line("// Smallworld session: ", smallworld_product.magik_session().properties[:name])
_self.write_line("// self type: ", mt:definition.self_type)
_self.write_line("// undefined type: ", mt:definition.undefined_type)
_self.write_line("// undefined result: ", mt:definition.undefined_result)

# Write products.
_self.write_line("// products")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,6 @@ _private _method type_merger.merge_definition(left_definition, right_definition)
_local msg << write_string("Changed: ", out_stream.string)
condition.raise(:information, :string, msg)

_global user:defs
user:defs << {left_definition, right_definition}
_return right_definition
_endmethod
$
Expand Down

0 comments on commit 50b7a9a

Please sign in to comment.