⭐️ A friendly language for building type-safe, scalable systems!
381 matches across 7 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | compiler-cli/src/lib.rs | 161 | /// Which compilation target to use |
| LOW | compiler-cli/src/lib.rs | 181 | replace: bool, |
| LOW | compiler-cli/src/lib.rs | 201 | /// ] |
| LOW | compiler-cli/src/lib.rs | 221 | /// |
| LOW | compiler-cli/src/lib.rs | 241 | /// during development, e.g. code used for testing the package. |
| LOW | compiler-cli/src/lib.rs | 261 | /// for using packages of yours that are not-yet production-ready, or |
| LOW | compiler-cli/src/lib.rs | 301 | |
| LOW | compiler-cli/src/lib.rs | 361 | }, |
| LOW | compiler-cli/src/lib.rs | 381 | /// Add the package "wibble": |
| LOW | compiler-cli/src/lib.rs | 721 | /// A directories of precompiled Gleam projects |
| LOW | compiler-cli/src/lib.rs | 761 | /// Retire a release from Hex |
| LOW | compiler-cli/src/lib.rs | 781 | /// Un-retire a release from Hex |
| LOW | compiler-cli/src/lib.rs | 821 | |
| LOW | compiler-cli/src/lib.rs | 841 | }, |
| LOW | compiler-cli/src/lib.rs | 861 | #[derive(Subcommand, Debug)] |
| LOW | compiler-cli/src/lib.rs | 881 | Publish, |
| LOW | compiler-cli/src/text_layout.rs | 1 | use ecow::EcoString; |
| LOW | compiler-cli/src/dependencies.rs | 661 | /// Returns true if all path dependency configs are unchanged since last build. |
| LOW | compiler-cli/src/dependencies.rs | 901 | program: "git".into(), |
| LOW | compiler-cli/src/dependencies.rs | 921 | /// switching to the exact commit we want. There a few alternatives to this: |
| LOW | compiler-core/src/warning.rs | 201 | /// } |
| LOW | compiler-core/src/warning.rs | 221 | |
| LOW | compiler-core/src/format.rs | 281 | }; |
| LOW | compiler-core/src/format.rs | 301 | /// |
| LOW | compiler-core/src/format.rs | 961 | .iter() |
| LOW | compiler-core/src/format.rs | 1781 | // list.map([], wobble(_)) |
| LOW | compiler-core/src/format.rs | 2121 | let clause_doc = match &clause.guard { |
| LOW | compiler-core/src/format.rs | 2201 | // multiple subjects. |
| LOW | compiler-core/src/format.rs | 2381 | ItemsPacking::FitOnePerLine |
| LOW | compiler-core/src/format.rs | 2401 | // |
| LOW | compiler-core/src/format.rs | 2661 | side: &'a UntypedClauseGuard, |
| LOW | compiler-core/src/format.rs | 3061 | .append(break_(",", "")) |
| LOW | compiler-core/src/format.rs | 3141 | // the `as` bit to be on the same line as the original document and |
| LOW | compiler-core/src/format.rs | 3221 | "echo".to_doc(), |
| LOW | compiler-core/src/format.rs | 3261 | } |
| LOW | compiler-core/src/format.rs | 3361 | /// a bit array in a line. |
| LOW | compiler-core/src/format.rs | 3381 | /// Try and fit everything on a single line; if the items don't fit, break |
| LOW | compiler-core/src/derivation_tree.rs | 21 | } |
| LOW | compiler-core/src/derivation_tree.rs | 281 | /// each node referring to a specific version range. For example: |
| LOW | compiler-core/src/config.rs | 241 | pub fn read<FS: FileSystemReader, P: AsRef<Utf8Path>>( |
| LOW | compiler-core/src/version.rs | 1 | /// The current version of the gleam compiler. If this does not match what is |
| LOW | compiler-core/src/erlang.rs | 981 | // ```erl |
| LOW | compiler-core/src/erlang.rs | 1001 | // string value with that option we can put it in the bit array like any |
| LOW | compiler-core/src/erlang.rs | 1421 | |
| LOW | compiler-core/src/erlang.rs | 1441 | // _ -> erlang:error(...) |
| LOW | compiler-core/src/erlang.rs | 1461 | // ```erlang |
| LOW | compiler-core/src/erlang.rs | 2901 | .nest(INDENT) |
| LOW | compiler-core/src/erlang.rs | 2921 | /// that the first expression must have evaluated to `true`, and the second |
| LOW | compiler-core/src/analyse.rs | 101 | } |
| LOW | compiler-core/src/analyse.rs | 641 | // However, since it ends up calling its function argument its |
| LOW | compiler-core/src/analyse.rs | 661 | // // separate known problem. For the time being we always |
| LOW | compiler-core/src/inline.rs | 1 | //! This module implements the function inlining optimisation. This allows |
| LOW | compiler-core/src/inline.rs | 21 | //! try_sum(rest, sum + number) |
| LOW | compiler-core/src/inline.rs | 41 | //! case int.parse(first) { |
| LOW | compiler-core/src/inline.rs | 61 | //! It is a standard library function within the hardcoded list - which can be |
| LOW | compiler-core/src/inline.rs | 81 | //! so it becomes: |
| LOW | compiler-core/src/inline.rs | 161 | module |
| LOW | compiler-core/src/inline.rs | 181 | /// } |
| LOW | compiler-core/src/inline.rs | 221 | } |
| LOW | compiler-core/src/inline.rs | 741 | ) |
| 280 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | compiler-core/src/exhaustiveness.rs | 110 | /// ─┬─────── ─┬──── ─┬────────── ─┬── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 113 | /// ╰──────────┴── checks: check that a variable matches with a pattern |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 114 | /// ─┬──────────────────────────────────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 187 | /// ─┬──────────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 208 | /// ─┬─────────────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 592 | /// ─┬─────── ─┬──── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 593 | /// ╰─────────┴── Two `PatternCheck`s |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 908 | /// ─┬──────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 922 | /// ─┬─ ─┬─────────────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 1567 | /// ─┬──────── ─┬─────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 1590 | /// ─┬─ ─┬─────────────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 1853 | /// ─┬───────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 1862 | /// ─┬─────────────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 1876 | /// ─┬─────────────────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 1891 | /// ─┬─────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 2049 | /// ─┬─────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 2062 | /// ─┬──────────────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 2081 | /// ─┬─────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 2675 | // ─┬──────── |
| MEDIUM | compiler-core/src/exhaustiveness.rs | 2683 | // ─┬────── |
| MEDIUM | compiler-core/src/ast.rs | 2644 | /// ─┬────────────── |
| MEDIUM | compiler-core/src/type_/pattern.rs | 1050 | // ┬─── ┬────── |
| MEDIUM | language-server/src/code_action.rs | 9570 | /// ┬──────── |
| MEDIUM | language-server/src/code_action.rs | 9587 | /// ┬─────── |
| MEDIUM | language-server/src/code_action.rs | 9605 | /// ┬───────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | language-server/src/completer.rs | 575 | self.compiler.project_compiler.config.dependencies.keys(), |
| CRITICAL | language-server/src/completer.rs | 1231 | self.compiler.project_compiler.config.name.as_str() |
| CRITICAL | language-server/src/code_action.rs | 9144 | if self.module.ast.definitions.imports.is_empty() { |
| CRITICAL | language-server/src/code_action.rs | 10653 | if !self.module.ast.type_info.values.contains_key("function") { |
| CRITICAL | language-server/src/code_action.rs | 10660 | if !self.module.ast.type_info.values.contains_key(&name) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | compiler-core/src/format.rs | 2399 | // [Constructor("wibble", "lorem ipsum dolor sit amet something something"), Other(1)] |
| LOW | compiler-core/src/format.rs | 2399 | // [Constructor("wibble", "lorem ipsum dolor sit amet something something"), Other(1)] |
| LOW | compiler-core/src/format.rs | 2408 | // "lorem ipsum dolor sit amet something something", |
| LOW | compiler-core/src/format.rs | 2408 | // "lorem ipsum dolor sit amet something something", |
| LOW | compiler-core/src/type_/tests/exhaustiveness.rs | 1294 | let name = "John Doe" |
| LOW | compiler-core/src/erlang/tests/records.rs | 305 | let car = Car(make: "Amphicar", model: "Model 770", driver: Person(name: "John Doe", age: 27)) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | compiler-core/src/type_/pattern.rs | 1558 | // We need to check if there's an explicit size value for the segment. |
| LOW | compiler-core/src/javascript/decision.rs | 462 | // For binded variables inside body we need to check if |
| LOW | language-server/src/completer.rs | 212 | // We need to check if the new text we're adding could actually be |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | compiler-core/src/parse.rs | 5 | // Essentially a thing that goes between operators. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .github/workflows/release-nightly.yaml | 13 | # Check if the actions already ran in the last 24 hours |