Debuging new importation errors derived, probably, from coder updating strategies.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2024-06-20 10:32:17 -05:00
parent 1b66316d03
commit 3c01731fdc
2 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@ LePharoSnippet >> fromMarkdeep: markdeepDiv [
{ #category : #'*MiniDocs' } { #category : #'*MiniDocs' }
LePharoSnippet >> fromString: aString [ LePharoSnippet >> fromString: aString [
self code: aString self coder forSource: aString
] ]
{ #category : #'*MiniDocs' } { #category : #'*MiniDocs' }

View File

@ -11,6 +11,7 @@ OrderedDictionary >> asLepiterSnippet [
self at: 'className' ifAbsent: [ ^ nil ]. self at: 'className' ifAbsent: [ ^ nil ].
response := (self at: 'className') asClass new. response := (self at: 'className') asClass new.
response fromDictionary: self. response fromDictionary: self.
response fromString: (self at: 'content').
self at: 'origin' ifPresent: [ response metadata at: 'origin' put: (self at: 'origin') ]. self at: 'origin' ifPresent: [ response metadata at: 'origin' put: (self at: 'origin') ].
self at: 'errata' ifPresent: [ response metadata at: 'errata' put: (self at: 'errata') ]. self at: 'errata' ifPresent: [ response metadata at: 'errata' put: (self at: 'errata') ].
^ response ^ response