Skip to content

Commit

Permalink
Merge branch 'topic/1431' into 'master'
Browse files Browse the repository at this point in the history
Memoize SubtypeDecl.get_imp_deref

Closes #1431

See merge request eng/libadalang/libadalang!1729
  • Loading branch information
thvnx committed Aug 7, 2024
2 parents 241f89a + b7e6106 commit 84ad349
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ada/nodes.lkt
Original file line number Diff line number Diff line change
Expand Up @@ -6621,6 +6621,7 @@ class SubtypeDecl: BaseSubtypeDecl {
case t => t
}

@memoized
fun get_imp_deref(): Entity[Expr] =
self.get_type().get_imp_deref()

Expand Down

0 comments on commit 84ad349

Please sign in to comment.