# Heads-Up: Sway Path Resolution Incoming Update

**URL:** <https://forum.fuel.network/t/heads-up-sway-path-resolution-incoming-update/8093>\
**Category:** Announcements\
**Created:** [January 16, 2025, 3:11pm UTC](https://forum.fuel.network/t/heads-up-sway-path-resolution-incoming-update/8093 "2025-01-16T15:11:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![naz3eh](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/naz3eh/32/2025_2.png) [@naz3eh](https://forum.fuel.network/u/naz3eh)\
**Post date:** [January 16, 2025, 3:11pm UTC](https://forum.fuel.network/t/heads-up-sway-path-resolution-incoming-update/8093/1 "2025-01-16T15:11:02Z")

</div>

Hey builders,  
We want to give a heads-up regarding [the PR](https://github.com/FuelLabs/sway/pull/6291) that we will be merging soon which fixes path resolution bugs in Sway. This isn’t **released yet** , but it will be soon. This wont break correctly written imports, but it may break codebases that rely on this bug.

### What’s Changing?

In some cases, you could import a symbol `foo` from a package `bar` like this:

```auto
use ::bar::foo;

```

and pretending that it is at the root of your tree. This was always incorrect, but worked due to a bug. Going forward, you’ll need to use the correct format:

```auto
use bar::foo;

```

The `::` prefix is reserved for symbols that are part of your own package’s namespace.

### What to do?

If you used the semantically correct imports, you won’t have any issues. If not, you will need to review your imports again.
