Ruby: Cache use of DataFlowImplForPathname

This commit is contained in:
Tom Hvitved
2022-10-09 19:59:05 +02:00
parent 5cadd3c0e6
commit 9f34bf80fd

View File

@@ -27,6 +27,7 @@ module Pathname {
* Every `PathnameInstance` is considered to be a `FileNameSource`.
*/
class PathnameInstance extends FileNameSource {
cached
PathnameInstance() { any(PathnameConfiguration c).hasFlowTo(this) }
}