diff --git a/gradle.properties b/gradle.properties index 1b87675..78b1700 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,6 +18,6 @@ # version=2022.3.22 -manifoldVersion=2022.1.22-SNAPSHOT +manifoldVersion=2022.1.23-SNAPSHOT org.gradle.jvmargs=-Dfile.encoding=UTF-8 defaultIjVersion=LATEST-EAP-SNAPSHOT diff --git a/src/main/java/manifold/ij/core/ManPsiTupleExpressionImpl.java b/src/main/java/manifold/ij/core/ManPsiTupleExpressionImpl.java index 1bf9d78..71983cb 100644 --- a/src/main/java/manifold/ij/core/ManPsiTupleExpressionImpl.java +++ b/src/main/java/manifold/ij/core/ManPsiTupleExpressionImpl.java @@ -76,6 +76,11 @@ public ManPsiTupleExpressionImpl() return null; } + if( ManProject.getModule( this ) == null ) + { + return null; + } + String pkg = ManClassUtil.getPackage( topLevelClass.getQualifiedName() ); String tupleTypeName = ManPsiUtil.runInTypeManifoldLoader( this, () -> ITupleTypeProvider.INSTANCE.get().makeType( pkg, makeTupleFieldMap() ) );