Skip to content

Commit

Permalink
release 1.4.39
Browse files Browse the repository at this point in the history
  • Loading branch information
m0rkeulv committed Feb 14, 2024
1 parent b171b19 commit 7d1cf43
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Changelog
## 1.4.39
* Added: More format options for minimum newlines
* Fixed: Unused imports bugfix (fully qualified references would mask normal references)
* Added: Checking typeParameters in new expressions.
* Added: Misc. debug and trace logging for debugging resolver bugs.

## 1.4.38
* Trying to fix some minor resolver regression
## 1.4.37
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pluginName = Haxe Toolkit Support
pluginRepositoryUrl = https://github.com/HaxeFoundation/intellij-haxe

# SemVer format -> https://semver.org
pluginVersion = 1.4.38
pluginVersion = 1.4.39

# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
platformType = IU
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ private static List<HaxeGenericListPart> findTypeParameterPsi(HaxeReference refe
.map(HaxeGenericParamModel::getPsi)
.findFirst();
if (first.isPresent()) {
LogResolution(reference, "via TypeParameter Psi");
return List.of(first.get());
}
return null;
Expand All @@ -505,9 +506,10 @@ private List<? extends PsiElement> checkEnumExtractor(HaxeReference reference) {
SpecificHaxeClassReference classReference = HaxeResolveUtil.resolveExtractorEnum(argumentExtractor);
if (classReference != null) {
HaxeEnumValueDeclaration declaration = HaxeResolveUtil.resolveExtractorEnumValueDeclaration(classReference, argumentExtractor);
if (declaration!= null)
if (declaration!= null) {
LogResolution(reference, "via enum extractor");
return List.of(declaration);
}
}
}else {
// Last attempt to resolve enum value (not extractor), normally imports would solve this but some typedefs can omit this.
Expand Down

0 comments on commit 7d1cf43

Please sign in to comment.