Skip to content

Commit

Permalink
Metabuilder type registration bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronsaldo committed Nov 29, 2023
1 parent d39349d commit 522ad20
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Expand Up @@ -36,7 +36,7 @@ ClassMetaBuilder
let: #classValueExpression with: (name
ifNil: makeClassExpression
ifNotNil: (if: self isPublic
then: ``(public: `,name with: (`,makeClassExpression name: `,name; yourself))
then: ``(public: `,name with: `,makeClassExpression)
else: ``(let: `,name with: `,makeClassExpression)
)
).
Expand Down
Expand Up @@ -44,7 +44,7 @@ public class EnumMetaBuilder superclass: TypeMetaBuilder; definition: {
let enumValueExpression := name
ifNil: makeEnumExpression
ifNotNil: (if: self isPublic
then: ``(public: `,name with: (`,makeEnumExpression name: `,name; yourself))
then: ``(public: `,name with: `,makeEnumExpression)
else: ``(let: `,name with: `,makeEnumExpression)
).

Expand Down
Expand Up @@ -34,7 +34,7 @@ public class StructMetaBuilder superclass: TypeMetaBuilder; definition: {
let structValueExpression := name
ifNil: makeStructExpression
ifNotNil: (if: self isPublic
then: ``(public: `,name with: (`,makeStructExpression name: `,name; yourself))
then: ``(public: `,name with: `,makeStructExpression)
else: ``(let: `,name with: `,makeStructExpression)
).

Expand Down
Expand Up @@ -21,7 +21,7 @@ public class UnionMetaBuilder superclass: TypeMetaBuilder; definition: {
let unionValueExpression := name
ifNil: makeUnionExpression
ifNotNil: (if: self isPublic
then: ``(public: `,name with: (`,makeUnionExpression name: `,name; yourself))
then: ``(public: `,name with: `,makeUnionExpression)
else: ``(let: `,name with: `,makeUnionExpression)
).

Expand Down

0 comments on commit 522ad20

Please sign in to comment.