intellij-move icon indicating copy to clipboard operation
intellij-move copied to clipboard

"Module is declared with a different address `aptos_framework`" but move compiler doesn't report this

Open chuacw opened this issue 10 months ago • 2 comments

The plugin is reporting "Module is declared with a different address", but the move compiler doesn't report this, so the plugin has some issue regarding this.

Use attached project to reproduce this issue. Steps.

  1. aptos move clean --assume-yes
  2. aptos move compile (with or without --skip-fetch-latest-git-deps makes no difference)

No "Module is declared with a different address" messages are reported by the aptos move compiler. But if you open the project in IntelliJ, it reports 3 instances of this error message.

See screenshots.

image

Here's my aptos info: image

Here's the project: a-devs-best-friend.zip

Here's a screenshot of compiling the project: image

and you can see there's no "Module is declared with a different address" messages.

chuacw avatar Aug 19 '23 11:08 chuacw

I'll disable it for now.

mkurnikov avatar Aug 19 '23 12:08 mkurnikov

Thanks, Maksim!

chuacw avatar Aug 19 '23 12:08 chuacw