-
-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 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
19 changes: 19 additions & 0 deletions
19
...e_server/tests/snapshots/gleam_core__language_server__tests__hover__hover_type_alias.snap
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,19 @@ | ||
--- | ||
source: compiler-core/src/language_server/tests/hover.rs | ||
expression: "\nimport html/internal\npub type AliasedAttr = internal.Attribute\n\npub fn checked() -> AliasedAttr {\n internal.Attribute\n}\n" | ||
--- | ||
import html/internal | ||
pub type AliasedAttr = internal.Attribute | ||
|
||
pub fn checked() -> AliasedAttr { | ||
▔▔▔▔▔▔▔▔▔▔▔▔▔↑▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ | ||
internal.Attribute | ||
} | ||
|
||
|
||
----- Hover content ----- | ||
Scalar( | ||
String( | ||
"```gleam\nfn() -> html/internal.Attribute\n```\n", | ||
), | ||
) |