Skip to content

Commit

Permalink
Even moar cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
popematt committed Dec 17, 2024
1 parent 1e8bc03 commit 41b7d5f
Show file tree
Hide file tree
Showing 5 changed files with 283 additions and 238 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ internal class IonManagedWriter_1_1(
is Expression.MacroInvocation -> {
val invokedMacro = expression.macro
if (invokedMacro is SystemMacro) {
stepInTdlSystemMacroInvocation(invokedMacro.systemSymbol!!)
stepInTdlSystemMacroInvocation(invokedMacro.systemSymbol)
} else {
val invokedAddress = macroTable[invokedMacro]
?: newMacros[invokedMacro]
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/amazon/ion/impl/macro/Environment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ data class Environment private constructor(
| ],
| parent: ${parentEnvironment.toString().lines().joinToString("\n| ")},
|)
""".trimMargin()
""".trimMargin()

companion object {
@JvmStatic
Expand Down
Loading

0 comments on commit 41b7d5f

Please sign in to comment.