equal
deleted
inserted
replaced
783 } |
783 } |
784 }; |
784 }; |
785 unnamedPackage.modle = module; |
785 unnamedPackage.modle = module; |
786 //we cannot use a method reference below, as initialCompleter might be null now |
786 //we cannot use a method reference below, as initialCompleter might be null now |
787 unnamedPackage.completer = s -> initialCompleter.complete(s); |
787 unnamedPackage.completer = s -> initialCompleter.complete(s); |
|
788 unnamedPackage.flags_field |= EXISTS; |
788 module.unnamedPackage = unnamedPackage; |
789 module.unnamedPackage = unnamedPackage; |
789 } |
790 } |
790 |
791 |
791 public PackageSymbol getPackage(ModuleSymbol module, Name fullname) { |
792 public PackageSymbol getPackage(ModuleSymbol module, Name fullname) { |
792 return packages.getOrDefault(fullname, Collections.emptyMap()).get(module); |
793 return packages.getOrDefault(fullname, Collections.emptyMap()).get(module); |