alpha
Login
or
Join now
nandi.uk
/
gleam
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Fork of daniellemaywood.uk/gleam — Wasm codegen work
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
gleam
/
compiler-core
/
src
/
parse
/
snapshots
239 files
at
wasm
Danielle Maywood
Translate more parts of a case expression
11mo ago
969373cc
gleam_core__parse__tests__append_to_const_list.snap
Translate more parts of a case expression
11 months ago
gleam_core__parse__tests__argument_scope.snap
Add source code to one more snapshot case
2 years ago
gleam_core__parse__tests__arithmetic_in_guards.snap
only store start of operator in binops
2 months ago
gleam_core__parse__tests__assert_statement.snap
only store start of operator in binops
2 months ago
gleam_core__parse__tests__assert_statement_followed_by_statement.snap
Implement parsing for bool `assert`
1 year ago
gleam_core__parse__tests__assert_statement_with_message.snap
Add parsing for assert message
1 year ago
gleam_core__parse__tests__assert_statement_without_expression.snap
Implement parsing for bool `assert`
1 year ago
gleam_core__parse__tests__assign_infix_and_match_suffix_of_concat_pattern.snap
Wrap lines in error
2 months ago
gleam_core__parse__tests__assign_left_hand_side_of_concat_pattern.snap
Add source code to one more snapshot case
2 years ago
gleam_core__parse__tests__assignment_pattern_invalid_bit_segment.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__assignment_pattern_invalid_tuple.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__attributes_with_improper_definition.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__attributes_with_no_definition.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__bare_expression.snap
Warn about unsafe integer values on JavaScript
2 years ago
gleam_core__parse__tests__bit_array_invalid_segment.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__block_of_one.snap
Warn about unsafe integer values on JavaScript
2 years ago
gleam_core__parse__tests__block_of_two.snap
Warn about unsafe integer values on JavaScript
2 years ago
gleam_core__parse__tests__byte_order_mark.snap
Handle source files with a byte-order marker The Unicode specification allows UTF-8 files to begin with a byte-order marker (BOM), U+FEFF. In UTF-8 specifically, the BOM contains no information, since byte order is already unambiguous. However, some programs, especially on Windows, treat the BOM as a magic number to identify UTF-8 files, and even insert a BOM when creating or saving files. As such, we should be able to parse source files with a BOM so as not to worsen the experience for some Windows users. Implements #5391
4 months ago
gleam_core__parse__tests__byte_order_mark_module.snap
remove record tag from constants
2 months ago
gleam_core__parse__tests__calling_module_constant_as_constructor.snap
make constant records with no arguments not an error
2 months ago
gleam_core__parse__tests__capture_with_name.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__case_alternative_clause_no_subject.snap
🐛 Recognize missing pattern in alternative as syntax error
8 months ago
gleam_core__parse__tests__case_clause_no_subject.snap
🐛 Recognize missing pattern in alternative as syntax error
8 months ago
gleam_core__parse__tests__case_expression_without_body.snap
Make case expressions fault tolerant
2 years ago
gleam_core__parse__tests__case_guard_with_empty_block.snap
parse blocks in case guards
11 months ago
gleam_core__parse__tests__case_guard_with_nested_blocks.snap
only store start of operator in binops
2 months ago
gleam_core__parse__tests__case_invalid_case_pattern.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__case_invalid_expression.snap
Make case expressions fault tolerant
2 years ago
gleam_core__parse__tests__case_list_pattern_after_spread.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__const_invalid_bit_array_segment.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__const_invalid_list.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__const_invalid_record_constructor.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__const_invalid_tuple.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__const_record_update_all_fields.snap
make constant records with no arguments not an error
2 months ago
gleam_core__parse__tests__const_record_update_basic.snap
make constant records with no arguments not an error
2 months ago
gleam_core__parse__tests__const_record_update_only.snap
make constant records with no arguments not an error
2 months ago
gleam_core__parse__tests__const_record_update_with_module.snap
remove record tag from constants
2 months ago
gleam_core__parse__tests__const_string_concat.snap
Translate more parts of a case expression
11 months ago
gleam_core__parse__tests__const_string_concat_naked_right.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__const_with_function_call.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__const_with_function_call_with_args.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__constant_inside_function.snap
unify hints
4 months ago
gleam_core__parse__tests__constant_record_with_empty_arguments_is_record.snap
make constant records with no arguments not an error
2 months ago
gleam_core__parse__tests__correct_precedence_in_pattern_size.snap
Implement parsing of binary operators in bit arrays size patterns
1 year ago
gleam_core__parse__tests__deeply_nested_tuples.snap
Rework `VariableOrigin`
1 year ago
gleam_core__parse__tests__deeply_nested_tuples_no_block.snap
Rework `VariableOrigin`
1 year ago
gleam_core__parse__tests__deprecation_attribute_on_type_variant.snap
Implement external annotations for external types
9 months ago
gleam_core__parse__tests__deprecation_with_no_message.snap
improve deprecation error message
3 months ago
gleam_core__parse__tests__deprecation_with_no_message_on_constructor.snap
improve deprecation error message
3 months ago
gleam_core__parse__tests__deprecation_without_message.snap
improve deprecation error message
3 months ago
gleam_core__parse__tests__discard_infix_and_match_suffix_of_concat_pattern.snap
Wrap lines in error
2 months ago
gleam_core__parse__tests__discard_left_hand_side_of_concat_pattern.snap
Add source code to one more snapshot case
2 years ago
gleam_core__parse__tests__doesnt_issue_special_error_for_pythonic_import_if_slash.snap
test: add test to assert that imports with slashes do not trigger the special error
1 year ago
gleam_core__parse__tests__dot_access_function_call_in_case_clause_guard.snap
Add source code to one more snapshot case
2 years ago
gleam_core__parse__tests__echo_at_start_of_pipeline_wraps_the_whole_thing.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_cannot_have_an_expression_in_a_pipeline.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_followed_by_expression_ends_where_expression_ends.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_has_lower_precedence_than_binop.snap
only store start of operator in binops
2 months ago
gleam_core__parse__tests__echo_has_lower_precedence_than_pipeline.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_in_a_pipeline.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_with_assert_and_message_1.snap
only store start of operator in binops
2 months ago
gleam_core__parse__tests__echo_with_assert_and_message_2.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_with_assert_and_messages_1.snap
only store start of operator in binops
2 months ago
gleam_core__parse__tests__echo_with_assert_and_messages_2.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_with_assert_and_messages_3.snap
only store start of operator in binops
2 months ago
gleam_core__parse__tests__echo_with_block.snap
only store start of operator in binops
2 months ago
gleam_core__parse__tests__echo_with_complex_expression.snap
only store start of operator in binops
2 months ago
gleam_core__parse__tests__echo_with_let_assert_and_message.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_with_let_assert_and_messages.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_with_no_expressions_after_it.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_with_no_expressions_after_it_but_a_message.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_with_panic.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_with_panic_and_message.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_with_panic_and_messages.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_with_simple_expression_1.snap
infer echo messages
1 year ago
gleam_core__parse__tests__echo_with_simple_expression_2.snap
infer echo messages
1 year ago
gleam_core__parse__tests__error_for_greater_sign_after_invalid_qualified_type.snap
make qualified type annotations fault tolerant Before this, when typing an invalid type the language server would mess up and start suggesting completions for values rather than for types! ```gleam pub fn wibble() -> option.| // would show some invalid completions for all the option _values_ // rather than just the `option.Option` type. ``` We had to deal with something similar to make module accesses at the value level fault tolerant: the parser doesn't fail when there's a select that has nothing after the `.` (like `module_name.`). So I ended up implementing the same thing but for type annotations as well: the parser now allows `module_name.` with no type name following it and the error is moved to the analysis step. Making it fault tolerant fixed completions!
4 months ago
gleam_core__parse__tests__error_message_on_variable_starting_with_underscore.snap
improve error message for invalid names
1 month ago
gleam_core__parse__tests__error_message_on_variable_starting_with_underscore2.snap
improve error message for invalid names
1 month ago
gleam_core__parse__tests__error_message_when_using_discard_pattern_for_as_pattern.snap
improve error message for invalid names
1 month ago
gleam_core__parse__tests__error_message_when_using_discard_pattern_for_constant_name.snap
improve error message for invalid names
1 month ago
gleam_core__parse__tests__error_message_when_using_discard_pattern_for_function_name.snap
improve error message for invalid names
1 month ago
gleam_core__parse__tests__error_message_when_using_discard_pattern_for_module_name.snap
improve error message for invalid names
1 month ago
gleam_core__parse__tests__external_attribute_on_type_variant.snap
refresh snapshots and remove unused ones
2 years ago
gleam_core__parse__tests__external_attribute_with_custom_type.snap
Implement external annotations for external types
9 months ago
gleam_core__parse__tests__external_attribute_with_non_fn_definition.snap
Implement external annotations for external types
9 months ago
gleam_core__parse__tests__external_with_no_arguments.snap
Improve parser diagnostics for incomplete @external attributes
3 months ago
gleam_core__parse__tests__float_empty_exponent.snap
Accept snapshot
2 years ago
gleam_core__parse__tests__function_call_in_case_clause_guard.snap
Add source code to one more snapshot case
2 years ago
gleam_core__parse__tests__function_definition_angle_generics_error.snap
Add specific parser error for angle-bracket generics in function definitions
1 year ago
gleam_core__parse__tests__function_inside_a_type.snap
unify hints
4 months ago
gleam_core__parse__tests__function_invalid_signature.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__function_type_invalid_param_type.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__if_like_expression.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__import_type.snap
Remove redundant positions in UnqualifiedImport Co-authored-by: Louis Pilfold <louis@lpil.uk>
2 weeks ago
gleam_core__parse__tests__incomplete_function.snap
Add source code to one more snapshot case
2 years ago
gleam_core__parse__tests__incomplete_suffix_match_in_concat_pattern.snap
Wrap lines in error
2 months ago
gleam_core__parse__tests__inner_single_quote_parses.snap
Rework `VariableOrigin`
1 year ago
gleam_core__parse__tests__internal_attribute_on_type_variant.snap
refresh snapshots and remove unused ones
2 years ago
gleam_core__parse__tests__invalid_label_shorthand.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__invalid_label_shorthand_2.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__invalid_label_shorthand_3.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__invalid_label_shorthand_4.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__invalid_label_shorthand_5.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__invalid_left_paren_in_case_clause_guard.snap
unify hints
4 months ago
gleam_core__parse__tests__invalid_pattern_label_shorthand.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__invalid_pattern_label_shorthand_2.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__invalid_pattern_label_shorthand_3.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__invalid_pattern_label_shorthand_4.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__invalid_pattern_label_shorthand_5.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__list_spread_as_first_item_followed_by_other_items.snap
Move syntax error printing Now it's consistent with the way we print other error messages and allows us greater control, like adding additional extra labels and such.
1 year ago
gleam_core__parse__tests__list_spread_followed_by_extra_item_and_another_spread.snap
snapshots
1 year ago
gleam_core__parse__tests__list_spread_followed_by_extra_items.snap
Move syntax error printing Now it's consistent with the way we print other error messages and allows us greater control, like adding additional extra labels and such.
1 year ago
gleam_core__parse__tests__list_spread_followed_by_other_spread.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__list_spread_with_no_tail_in_the_middle_of_a_list.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__lowercase_constructor_name_in_custom_type.snap
better error message for unexpected constructors
2 weeks ago
gleam_core__parse__tests__missing_constructor_arguments.snap
refresh snapshots and remove unused ones
2 years ago
gleam_core__parse__tests__missing_constructor_name_with_multiple_fields.snap
better error message for unexpected constructors
2 weeks ago
gleam_core__parse__tests__missing_target.snap
Improve error message for missing target name
1 year ago
gleam_core__parse__tests__missing_target_and_bracket.snap
Improve error message for missing target name
1 year ago
gleam_core__parse__tests__missing_todo_constant_message.snap
allow adding a message after a constant todo
3 months ago
gleam_core__parse__tests__missing_todo_constant_message_2.snap
allow adding a message after a constant todo
3 months ago
gleam_core__parse__tests__missing_type_constructor_arguments_in_type_definition.snap
unify hints
4 months ago
gleam_core__parse__tests__multiple_deprecation_attribute_on_type_variant.snap
refresh snapshots and remove unused ones
2 years ago
gleam_core__parse__tests__multiple_deprecation_attributes.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__multiple_external_for_same_project_erlang.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__multiple_external_for_same_project_javascript.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__multiple_internal_attributes.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__multiple_unsupported_attributes_on_type_variant.snap
refresh snapshots and remove unused ones
2 years ago
gleam_core__parse__tests__nested_block.snap
✨ Include parsed value for float literals
10 months ago
gleam_core__parse__tests__nested_tuple_access_after_function.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__nested_tuples.snap
Rework `VariableOrigin`
1 year ago
gleam_core__parse__tests__nested_tuples_no_block.snap
Rework `VariableOrigin`
1 year ago
gleam_core__parse__tests__no_eq_after_binding_snapshot_1.snap
Add source code to one more snapshot case
2 years ago
gleam_core__parse__tests__no_eq_after_binding_snapshot_2.snap
Add source code to one more snapshot case
2 years ago
gleam_core__parse__tests__no_let_binding_snapshot_1.snap
unify hints
4 months ago
gleam_core__parse__tests__no_let_binding_snapshot_2.snap
unify hints
4 months ago
gleam_core__parse__tests__no_let_binding_snapshot_3.snap
unify hints
4 months ago
gleam_core__parse__tests__non_module_level_function_with_a_name.snap
unify hints
4 months ago
gleam_core__parse__tests__non_module_level_function_with_not_a_name.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__operator_in_pattern_size.snap
Implement parsing of binary operators in bit arrays size patterns
1 year ago
gleam_core__parse__tests__panic_with_echo.snap
infer echo messages
1 year ago
gleam_core__parse__tests__panic_with_echo_and_message.snap
infer echo messages
1 year ago
gleam_core__parse__tests__parse_error_for_greater_sign_after_invalid_qualified_type.snap
make qualified type annotations fault tolerant Before this, when typing an invalid type the language server would mess up and start suggesting completions for values rather than for types! ```gleam pub fn wibble() -> option.| // would show some invalid completions for all the option _values_ // rather than just the `option.Option` type. ``` We had to deal with something similar to make module accesses at the value level fault tolerant: the parser doesn't fail when there's a select that has nothing after the `.` (like `module_name.`). So I ended up implementing the same thing but for type annotations as well: the parser now allows `module_name.` with no type name following it and the error is moved to the analysis step. Making it fault tolerant fixed completions!
4 months ago
gleam_core__parse__tests__parse_error_for_type_list_after_invalid_qualified_type_1.snap
make qualified type annotations fault tolerant Before this, when typing an invalid type the language server would mess up and start suggesting completions for values rather than for types! ```gleam pub fn wibble() -> option.| // would show some invalid completions for all the option _values_ // rather than just the `option.Option` type. ``` We had to deal with something similar to make module accesses at the value level fault tolerant: the parser doesn't fail when there's a select that has nothing after the `.` (like `module_name.`). So I ended up implementing the same thing but for type annotations as well: the parser now allows `module_name.` with no type name following it and the error is moved to the analysis step. Making it fault tolerant fixed completions!
4 months ago
gleam_core__parse__tests__parse_error_for_type_list_after_invalid_qualified_type_2.snap
make qualified type annotations fault tolerant Before this, when typing an invalid type the language server would mess up and start suggesting completions for values rather than for types! ```gleam pub fn wibble() -> option.| // would show some invalid completions for all the option _values_ // rather than just the `option.Option` type. ``` We had to deal with something similar to make module accesses at the value level fault tolerant: the parser doesn't fail when there's a select that has nothing after the `.` (like `module_name.`). So I ended up implementing the same thing but for type annotations as well: the parser now allows `module_name.` with no type name following it and the error is moved to the analysis step. Making it fault tolerant fixed completions!
4 months ago
gleam_core__parse__tests__parse_negative_binary_number.snap
allow negative numbers in different bases
2 weeks ago
gleam_core__parse__tests__parse_negative_hexadecimal_number.snap
allow negative numbers in different bases
2 weeks ago
gleam_core__parse__tests__parse_negative_octal_number.snap
allow negative numbers in different bases
2 weeks ago
gleam_core__parse__tests__parsing_bit_array_constant_with_invalid_segment_type.snap
improve error message for constant bit arrays with invalid segment
2 months ago
gleam_core__parse__tests__parsing_bit_array_constant_with_non_integer_size.snap
Update snapshots
2 months ago
gleam_core__parse__tests__parsing_bit_array_constant_with_non_integer_unit.snap
Update snapshots
2 months ago
gleam_core__parse__tests__parsing_bit_array_expression_with_invalid_size.snap
Update snapshots
2 months ago
gleam_core__parse__tests__parsing_bit_array_expression_with_invalid_unit.snap
Update snapshots
2 months ago
gleam_core__parse__tests__parsing_bit_array_pattern_with_invalid_unit.snap
Update snapshots
2 months ago
gleam_core__parse__tests__parsing_invalid_deprecation_message.snap
improve error message for invalid deprecated/external annotations
2 months ago
gleam_core__parse__tests__parsing_invalid_external_function_name.snap
improve error message for invalid deprecated/external annotations
2 months ago
gleam_core__parse__tests__parsing_invalid_external_module_name.snap
improve error message for invalid deprecated/external annotations
2 months ago
gleam_core__parse__tests__prepend_no_elements_to_const_list.snap
unify hints
4 months ago
gleam_core__parse__tests__prepend_to_const_list_with_multiple_spreads.snap
Support list prepending in constants
4 months ago
gleam_core__parse__tests__prepend_to_const_list_with_no_tail.snap
Support list prepending in constants
4 months ago
gleam_core__parse__tests__prepend_to_const_list_without_comma.snap
Support list prepending in constants
4 months ago
gleam_core__parse__tests__private_internal_const.snap
unify hints
4 months ago
gleam_core__parse__tests__private_internal_function.snap
unify hints
4 months ago
gleam_core__parse__tests__private_internal_type.snap
unify hints
4 months ago
gleam_core__parse__tests__private_internal_type_alias.snap
unify hints
4 months ago
gleam_core__parse__tests__private_opaque_type_is_parsed.snap
Implement external annotations for external types
9 months ago
gleam_core__parse__tests__pub_function_inside_a_type.snap
unify hints
4 months ago
gleam_core__parse__tests__record_access_no_label.snap
Translate more parts of a case expression
11 months ago
gleam_core__parse__tests__repeated_echos.snap
infer echo messages
1 year ago
gleam_core__parse__tests__reserved_auto.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__reserved_delegate.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__reserved_derive.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__reserved_echo.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__reserved_else.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__reserved_implement.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__reserved_macro.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__reserved_test.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__semicolons.snap
Add source code to one more snapshot case
2 years ago
gleam_core__parse__tests__special_error_for_pythonic_import.snap
snapshots
1 year ago
gleam_core__parse__tests__special_error_for_pythonic_neste_import.snap
snapshots
1 year ago
gleam_core__parse__tests__string_concatenation_in_case_clause_guard.snap
only store start of operator in binops
2 months ago
gleam_core__parse__tests__string_single_char_suggestion.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__target_attribute_on_type_variant.snap
refresh snapshots and remove unused ones
2 years ago
gleam_core__parse__tests__tuple_invalid_expr.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__tuple_without_hash.snap
unify hints
4 months ago
gleam_core__parse__tests__type_angle_generics_definition_error.snap
Add relevant suggestion when a type definition uses angle brackets
10 months ago
gleam_core__parse__tests__type_angle_generics_definition_error_fallback.snap
Add relevant suggestion when a type definition uses angle brackets
10 months ago
gleam_core__parse__tests__type_angle_generics_definition_with_upname_error.snap
Add relevant suggestion when a type definition uses angle brackets
10 months ago
gleam_core__parse__tests__type_angle_generics_usage_with_module_error.snap
Add relevant suggestion when a type annotation uses angle brackets
10 months ago
gleam_core__parse__tests__type_angle_generics_usage_without_module_error.snap
Add relevant suggestion when a type annotation uses angle brackets
10 months ago
gleam_core__parse__tests__type_invalid_constructor.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__type_invalid_constructor_arg.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__type_invalid_record.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__type_invalid_record_constructor.snap
better error message for unexpected constructors
2 weeks ago
gleam_core__parse__tests__type_invalid_record_constructor_invalid_field_type.snap
better error message for unexpected constructors
2 weeks ago
gleam_core__parse__tests__type_invalid_record_constructor_without_field_type.snap
better error message for unexpected constructors
2 weeks ago
gleam_core__parse__tests__type_invalid_type_name.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__unicode_asterisk_operator.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_cyrillic_a.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_cyrillic_e.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_cyrillic_o.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_cyrillic_p.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_division_slash.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_em_dash.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_en_dash.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_at_sign.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_caret.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_colon.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_comma.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_exclamation_mark.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_full_stop.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_greater_than_sign.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_left_parenthesis.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_left_square_bracket.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_less_than_sign.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_right_parenthesis.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_right_square_bracket.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_fullwidth_vertical_line.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_ideographic_comma.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_ideographic_full_stop.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_left_double_quotation_mark.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_left_single_quotation_mark.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_low_single_comma_quotation_mark.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_modifier_letter_capital_i.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_non_breaking_space.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_right_double_quotation_mark.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_right_single_quotation_mark.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unicode_zero_width_space.snap
update legacy snapshots
3 months ago
gleam_core__parse__tests__unknown_attribute.snap
Replace `target` in LS hint with `internal`
6 months ago
gleam_core__parse__tests__unknown_external_target.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__unknown_target.snap
Improve error message for unknown target name
1 year ago
gleam_core__parse__tests__use_invalid_assignments.snap
Add source code to missing error snapshots
2 years ago
gleam_core__parse__tests__valueless_list_spread_expression.snap
Add source code to one more snapshot case
2 years ago
gleam_core__parse__tests__with_let_binding3.snap
Rework `VariableOrigin`
1 year ago
gleam_core__parse__tests__with_let_binding3_and_annotation.snap
make qualified type annotations fault tolerant Before this, when typing an invalid type the language server would mess up and start suggesting completions for values rather than for types! ```gleam pub fn wibble() -> option.| // would show some invalid completions for all the option _values_ // rather than just the `option.Option` type. ``` We had to deal with something similar to make module accesses at the value level fault tolerant: the parser doesn't fail when there's a select that has nothing after the `.` (like `module_name.`). So I ended up implementing the same thing but for type annotations as well: the parser now allows `module_name.` with no type name following it and the error is moved to the analysis step. Making it fault tolerant fixed completions!
4 months ago
gleam_core__parse__tests__wrong_function_return_type_declaration_using_colon_instead_of_right_arrow.snap
unify hints
4 months ago
gleam_core__parse__tests__wrong_record_access_pattern.snap
unify hints
4 months ago
gleam_core__parse__tests__wrong_type_of_comments_with_hash.snap
unify hints
4 months ago