-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from pontem-network/positional-fields
Positional fields
- Loading branch information
Showing
145 changed files
with
2,525 additions
and
1,995 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
13 changes: 6 additions & 7 deletions
13
...org/move/cli/tests/NamedAddressService.kt → .../NamedAddressFromTestAnnotationService.kt
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 |
---|---|---|
@@ -1,23 +1,22 @@ | ||
package org.move.cli.tests | ||
|
||
import org.move.cli.MoveProject | ||
import org.move.lang.core.types.Address | ||
import org.move.lang.core.types.Address.Named | ||
|
||
interface NamedAddressService { | ||
fun getNamedAddress(moveProject: MoveProject, name: String): Address.Named? | ||
interface NamedAddressFromTestAnnotationService { | ||
fun getNamedAddress(moveProject: MoveProject, name: String): Named? | ||
} | ||
|
||
class NamedAddressServiceImpl: NamedAddressService { | ||
override fun getNamedAddress(moveProject: MoveProject, name: String): Address.Named? = null | ||
class NamedAddressServiceImpl: NamedAddressFromTestAnnotationService { | ||
override fun getNamedAddress(moveProject: MoveProject, name: String): Named? = null | ||
} | ||
|
||
|
||
class NamedAddressServiceTestImpl: NamedAddressService { | ||
class NamedAddressServiceTestImpl: NamedAddressFromTestAnnotationService { | ||
val namedAddresses: MutableMap<String, String> = mutableMapOf() | ||
|
||
override fun getNamedAddress(moveProject: MoveProject, name: String): Named? { | ||
val value = namedAddresses[name] ?: return null | ||
return Named(name, value, moveProject) | ||
return Named(name, value) | ||
} | ||
} |
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
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
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
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
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
88 changes: 0 additions & 88 deletions
88
src/main/kotlin/org/move/ide/inspections/MvAbilityCheckInspection.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.