generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(amdTranspiler): Ensure unique class names
If the determined class name is equal to name of the variable used in the extends call, later analysis of the same will fail. This change attempts to ensure a unique name for the generated class so that it can be analyzed properly. Resolves #184
- Loading branch information
1 parent
eacea1e
commit b70698c
Showing
5 changed files
with
59 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
test/fixtures/linter/rules/AsyncComponentFlags/Negative_07/Component.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
sap.ui.define(["sap/ui/core/UIComponent", `sap/ui/Device`], function (UIComponent) { | ||
"use strict"; | ||
|
||
return UIComponent.extend("com.ui5.troublesome.app.UIComponent", {}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+77 Bytes
(100%)
test/lib/linter/amdTranspiler/snapshots/transpiler.ts.snap
Binary file not shown.