Skip to content

Commit dcd6573

Browse files
authored
Merge pull request #35 from jecisc/fix-34
Fix bug introduced in the TSFASTImporter
2 parents 1e89b81 + daf8104 commit dcd6573

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/TreeSitter-FAST-Utils/TSFASTImporter.class.st

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ TSFASTImporter >> originString: anObject [
9595
{ #category : 'accessing' }
9696
TSFASTImporter >> tsLanguage: anObject [
9797

98-
self deprecated: 'This is not used and can be removed.' t
98+
self deprecated: 'This is not used and can be removed.'
9999
]
100100

101101
{ #category : 'visiting' }
@@ -107,6 +107,7 @@ TSFASTImporter >> visitChildren: aTSNode in: fastEntity [
107107

108108
"When visiting the children of the children we might lose the current property so we save it."
109109
previousProperty := currentFMProperty.
110+
currentFMProperty := nil.
110111

111112
aTSNode collectFieldNameOfNamedChild keysAndValuesDo: [ :field :nodes |
112113
"If the field has the name of a property, we save this property so that my children can use it to set themselves in the right variable"

0 commit comments

Comments
 (0)