rcl/golden/types
Ruud van Asseldonk 86c08c0eab Add error help for more type misspellings
If I'm doing it for Int, might as well do it for a few other types that
people might try coming from TypeScript or other languages.
2025-02-25 22:21:39 +01:00
..
diff_source_annotation.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
diff_source_empty_collection.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
diff_source_operator.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
expr_args_dict_arity.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
expr_args_dict_none.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
expr_args_list_arity.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
expr_args_list_none.test Add goldens for type expr parsing 2024-02-24 21:54:35 +01:00
expr_args_set_arity.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
expr_args_set_none.test Add goldens for type expr parsing 2024-02-24 21:54:35 +01:00
expr_args_union_arity_0.test Add tests for union type constructor error 2024-04-21 21:43:09 +02:00
expr_args_union_arity_1.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
expr_args_union_none.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
expr_args_unknown_generic.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
expr_list_void.test Add goldens for type expr parsing 2024-02-24 21:54:35 +01:00
expr_unknown_type.test Add goldens for type expr parsing 2024-02-24 21:54:35 +01:00
meet_builtin.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
mismatch_short_long.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
runtime_dict_key.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
runtime_dict_value.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
runtime_function_arg_defer.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
runtime_function_arity.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
runtime_function_defer.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
runtime_function_not_subtype.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
runtime_index_list_float.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
runtime_index_list_string.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
runtime_index_null.test Explain index errors better, add goldens 2024-02-24 21:54:35 +01:00
runtime_index_string.test Add goldens for indexing into a string 2024-02-24 21:54:35 +01:00
runtime_iter_dict.test Add goldens to cover runtime iteration arity errors 2024-02-24 21:54:35 +01:00
runtime_iter_list.test Add goldens to cover runtime iteration arity errors 2024-02-24 21:54:35 +01:00
runtime_iter_null.test Add golden for runtime non-iterable error 2024-02-24 21:54:35 +01:00
runtime_iter_set.test Add goldens to cover runtime iteration arity errors 2024-02-24 21:54:35 +01:00
runtime_type_annotation_mismatch.test Correct names of golden tests after typechecker 2024-02-24 21:54:35 +01:00
runtime_type_assert_not_bool.test Correct names of golden tests after typechecker 2024-02-24 21:54:35 +01:00
runtime_union_any.test Add golden and update reachable code after typechecks 2024-02-24 21:54:35 +01:00
runtime_union_subtype_defer_err.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
runtime_union_subtype_defer_ok.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
runtime_union_subtype_defer_ok_2.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
runtime_union_subtype_ok.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
static_assertion_not_bool.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_binop_unsupported.test Hook up + operator for Value::Number 2025-02-24 20:42:59 +01:00
static_call_arity_lambda1_too_few.test Correct names of golden tests after typechecker 2024-02-24 21:54:35 +01:00
static_call_arity_lambda1_too_many.test Correct names of golden tests after typechecker 2024-02-24 21:54:35 +01:00
static_call_arity_lambda2_too_few.test Correct names of golden tests after typechecker 2024-02-24 21:54:35 +01:00
static_call_arity_lambda2_too_many.test Correct names of golden tests after typechecker 2024-02-24 21:54:35 +01:00
static_call_arity_missing_arg_unnamed.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
static_collection_dict_key.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_collection_dict_not_dict.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_collection_dict_not_kv.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
static_collection_dict_unexpected.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_collection_dict_value.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_collection_list_inner.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_collection_set_inner.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_collection_set_not_scalar.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
static_condition_not_bool.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_function_defer.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
static_function_error_1.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_function_error_2.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_function_error_3.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_function_error_4.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_function_error_5.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_function_ok.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
static_index_list_not_number.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
static_index_null.test Explain index errors better, add goldens 2024-02-24 21:54:35 +01:00
static_index_string.test Add goldens for indexing into a string 2024-02-24 21:54:35 +01:00
static_listcomp_condition_not_bool.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_name_hint_bool.test Add error help for more type misspellings 2025-02-25 22:21:39 +01:00
static_name_hint_dict.test Add error help for more type misspellings 2025-02-25 22:21:39 +01:00
static_name_hint_list.test Add error help for more type misspellings 2025-02-25 22:21:39 +01:00
static_name_hint_number.test Add error help for more type misspellings 2025-02-25 22:21:39 +01:00
static_not_fn_1.test Correct names of golden tests after typechecker 2024-02-24 21:54:35 +01:00
static_number_neg_inner.test Rename Num type to Number, add highlighting for it 2025-02-24 20:42:59 +01:00
static_union_null.test Add coverage for statically abusing union operator 2024-02-24 21:54:35 +01:00
static_union_subtype_err.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_union_subtype_fn_ok.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
static_union_subtype_union_ok.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
static_union_supertype_err.test Update and extend golden tests for Int->Number rename 2025-02-24 20:42:59 +01:00
static_union_supertype_ok.test Reject 'Int' as alias for 'Number' 2025-02-24 20:42:59 +01:00
static_unop_unsupported.test Correct names of golden tests after typechecker 2024-02-24 21:54:35 +01:00