Skip to content

Commit

Permalink
Inherent impls cause duplicate definition error
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanjermakov committed Aug 3, 2024
1 parent 49a292b commit 33d197f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/phase/module-resolve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ export const resolveModuleScope = (node: AstNode, ctx: Context): void => {
break
}
case 'impl-def': {
if (!node.forTrait) {
addDef(node, ctx)
}
// TODO
break
}
case 'var-def': {
Expand Down

0 comments on commit 33d197f

Please sign in to comment.