Skip to content

Commit 5da79d3

Browse files
committed
swift compiler crash fix
1 parent ec5f015 commit 5da79d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Leaf/Tag/Models/Extend.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ extension Leaf {
3535
return
3636
}
3737

38-
template.parameters.first?.constant.flatMap { importName in
38+
if let importName = template.parameters.first?.constant {
3939
if let exported = exports[importName] {
4040
comps += exported.components.array
4141
} else if let fallback = template.body {

0 commit comments

Comments
 (0)