Improve errors and diagnostics #1493
Annotations
70 errors and 2 warnings
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/integrations/properties_test.exs#L442
test map validate invalid literals at compile-time (Surface.PropertiesTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/integrations/properties_test.exs#L190
test atom validate invalid atom at compile time (Surface.PropertiesTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/integrations/properties_test.exs#L594
test list validate invalid literals at compile-time (Surface.PropertiesTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/integrations/properties_test.exs#L295
test keyword validate invalid literals at compile-time (Surface.PropertiesTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/integrations/properties_test.exs#L525
test list passing a list without brackets is invalid (Surface.PropertiesTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/integrations/properties_test.exs#L844
test root property validate if not generator at compile time (Surface.PropertiesTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/integrations/slot_test.exs#L1015
test raise compile error when using :let and there's no default slot defined (Surface.SlotTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/integrations/slot_test.exs#L1057
test raise compile error for invalid arg expression (multiple clauses) (Surface.SlotTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/compiler/parser_test.exs#L738
test attributes raise on shorthand notation for assigning attributes with invalid expression (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/compiler/parser_test.exs#L990
test blocks raise error on blocks without expression (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/constructs/for_test.exs#L103
test #for language structure compile error message contains the correct line (Surface.Constructs.ForTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/constructs/for_test.exs#L194
test #else language structure raises compile error with complex generator (Surface.Constructs.ForTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/constructs/if_test.exs#L290
test nested if/elseif/else compile error message contains the correct line with nested struct (Surface.Constructs.IfTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/constructs/if_test.exs#L389
test #unless language structure compile error message contains the correct line (Surface.Constructs.IfTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/constructs/if_test.exs#L79
test #if language structure compile error message contains the correct line (Surface.Constructs.IfTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/component_test.exs#L199
test raise compile error if option :slot is not a string (Surface.ComponentTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/integrations/properties_test.exs#L295
test keyword validate invalid literals at compile-time (Surface.PropertiesTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/integrations/properties_test.exs#L525
test list passing a list without brackets is invalid (Surface.PropertiesTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/compiler/parser_test.exs#L738
test attributes raise on shorthand notation for assigning attributes with invalid expression (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.17.0 | Erlang/OTP 27.0.1):
test/surface/compiler/parser_test.exs#L754
test attributes raise on assigning {= ...} to an attribute (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.16.0 | Erlang/OTP 26.2.1):
test/surface/constructs/case_test.exs#L89
test raise error if there's no {#match} sub-blocks (Surface.Constructs.CaseTest)
|
mix test (Elixir 1.16.0 | Erlang/OTP 26.2.1):
test/surface/constructs/case_test.exs#L69
test raise error if default sub-block has content (Surface.Constructs.CaseTest)
|
mix test (Elixir 1.16.0 | Erlang/OTP 26.2.1):
test/surface/api_test.exs#L431
test slot raise compile error when a slot arg is bound to a non-existing property (Surface.APITest)
|
mix test (Elixir 1.16.0 | Erlang/OTP 26.2.1):
test/surface/constructs/for_test.exs#L103
test #for language structure compile error message contains the correct line (Surface.Constructs.ForTest)
|
mix test (Elixir 1.16.0 | Erlang/OTP 26.2.1):
test/surface/constructs/for_test.exs#L194
test #else language structure raises compile error with complex generator (Surface.Constructs.ForTest)
|
mix test (Elixir 1.16.0 | Erlang/OTP 26.2.1):
test/surface/api_test.exs#L129
test validate :css_variant type + options (Surface.APITest)
|
mix test (Elixir 1.16.0 | Erlang/OTP 26.2.1):
test/surface/integrations/slot_test.exs#L774
test raises if reusing generator variable names in :let (Surface.SlotTest)
|
mix test (Elixir 1.16.0 | Erlang/OTP 26.2.1):
test/surface/integrations/slot_test.exs#L1034
test raise compile error for invalid :let pattern (clause and opts) (Surface.SlotTest)
|
mix test (Elixir 1.16.0 | Erlang/OTP 26.2.1):
test/surface/api_test.exs#L460
test slot raise compile error when a slot arg is bound to a property of type other than :list (Surface.APITest)
|
mix test (Elixir 1.16.0 | Erlang/OTP 26.2.1):
test/surface/integrations/slot_test.exs#L1057
test raise compile error for invalid arg expression (multiple clauses) (Surface.SlotTest)
|
mix test (Elixir 1.15.2 | Erlang/OTP 26.0):
test/surface/constructs/if_test.exs#L290
test nested if/elseif/else compile error message contains the correct line with nested struct (Surface.Constructs.IfTest)
|
mix test (Elixir 1.15.2 | Erlang/OTP 26.0):
test/surface/constructs/if_test.exs#L389
test #unless language structure compile error message contains the correct line (Surface.Constructs.IfTest)
|
mix test (Elixir 1.15.2 | Erlang/OTP 26.0):
test/surface/constructs/if_test.exs#L79
test #if language structure compile error message contains the correct line (Surface.Constructs.IfTest)
|
mix test (Elixir 1.15.2 | Erlang/OTP 26.0):
test/surface/constructs/for_test.exs#L103
test #for language structure compile error message contains the correct line (Surface.Constructs.ForTest)
|
mix test (Elixir 1.15.2 | Erlang/OTP 26.0):
test/surface/constructs/for_test.exs#L194
test #else language structure raises compile error with complex generator (Surface.Constructs.ForTest)
|
mix test (Elixir 1.15.2 | Erlang/OTP 26.0):
test/surface/constructs/case_test.exs#L89
test raise error if there's no {#match} sub-blocks (Surface.Constructs.CaseTest)
|
mix test (Elixir 1.15.2 | Erlang/OTP 26.0):
test/surface/constructs/case_test.exs#L69
test raise error if default sub-block has content (Surface.Constructs.CaseTest)
|
mix test (Elixir 1.15.2 | Erlang/OTP 26.0):
test/surface/integrations/directives_test.exs#L397
test modifiers raise compile error for modifiers with multiple clauses (Surface.DirectivesTest)
|
mix test (Elixir 1.15.2 | Erlang/OTP 26.0):
test/surface/integrations/directives_test.exs#L177
test :props for a component raise if trying to assisn `{... }` to a property (Surface.DirectivesTest)
|
mix test (Elixir 1.15.2 | Erlang/OTP 26.0):
test/surface/integrations/directives_test.exs#L306
test :attrs in html tags raise if trying to assisn `{... }` to an attribute (Surface.DirectivesTest)
|
mix test (Elixir 1.14.0 | Erlang/OTP 25.0):
test/surface/catalogue/playground_test.exs#L24
test subject is required (Surface.Catalogue.PlaygroundTest)
|
mix test (Elixir 1.14.0 | Erlang/OTP 25.0):
test/surface/compiler/parser_test.exs#L990
test blocks raise error on blocks without expression (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.14.0 | Erlang/OTP 25.0):
test/surface/compiler/parser_test.exs#L738
test attributes raise on shorthand notation for assigning attributes with invalid expression (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.14.0 | Erlang/OTP 25.0):
test/surface/compiler/parser_test.exs#L754
test attributes raise on assigning {= ...} to an attribute (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.14.0 | Erlang/OTP 25.0):
test/surface/api_test.exs#L460
test slot raise compile error when a slot arg is bound to a property of type other than :list (Surface.APITest)
|
mix test (Elixir 1.14.0 | Erlang/OTP 25.0):
test/surface/component_test.exs#L199
test raise compile error if option :slot is not a string (Surface.ComponentTest)
|
mix test (Elixir 1.14.0 | Erlang/OTP 25.0):
test/surface/constructs/case_test.exs#L69
test raise error if default sub-block has content (Surface.Constructs.CaseTest)
|
mix test (Elixir 1.14.0 | Erlang/OTP 25.0):
test/surface/api_test.exs#L129
test validate :css_variant type + options (Surface.APITest)
|
mix test (Elixir 1.14.0 | Erlang/OTP 25.0):
test/surface/constructs/case_test.exs#L89
test raise error if there's no {#match} sub-blocks (Surface.Constructs.CaseTest)
|
mix test (Elixir 1.14.0 | Erlang/OTP 25.0):
test/surface/constructs/for_test.exs#L103
test #for language structure compile error message contains the correct line (Surface.Constructs.ForTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 25.0):
test/surface/catalogue/playground_test.exs#L24
test subject is required (Surface.Catalogue.PlaygroundTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 25.0):
test/surface/api_test.exs#L431
test slot raise compile error when a slot arg is bound to a non-existing property (Surface.APITest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 25.0):
test/surface/api_test.exs#L460
test slot raise compile error when a slot arg is bound to a property of type other than :list (Surface.APITest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 25.0):
test/surface/compiler/parser_test.exs#L990
test blocks raise error on blocks without expression (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 25.0):
test/surface/compiler/parser_test.exs#L738
test attributes raise on shorthand notation for assigning attributes with invalid expression (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 25.0):
test/surface/compiler/parser_test.exs#L754
test attributes raise on assigning {= ...} to an attribute (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 25.0):
test/surface/api_test.exs#L129
test validate :css_variant type + options (Surface.APITest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 25.0):
test/surface/component_test.exs#L199
test raise compile error if option :slot is not a string (Surface.ComponentTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 25.0):
test/surface/components/context_test.exs#L1003
test validate property :put raise compile error when passing no values (Surface.Components.ContextTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 25.0):
test/surface/constructs/case_test.exs#L89
test raise error if there's no {#match} sub-blocks (Surface.Constructs.CaseTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 24.0):
test/surface/catalogue/playground_test.exs#L24
test subject is required (Surface.Catalogue.PlaygroundTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 24.0):
test/surface/compiler/parser_test.exs#L990
test blocks raise error on blocks without expression (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 24.0):
test/surface/compiler/parser_test.exs#L738
test attributes raise on shorthand notation for assigning attributes with invalid expression (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 24.0):
test/surface/compiler/parser_test.exs#L754
test attributes raise on assigning {= ...} to an attribute (Surface.Compiler.ParserTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 24.0):
test/surface/api_test.exs#L460
test slot raise compile error when a slot arg is bound to a property of type other than :list (Surface.APITest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 24.0):
test/surface/api_test.exs#L431
test slot raise compile error when a slot arg is bound to a non-existing property (Surface.APITest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 24.0):
test/surface/api_test.exs#L129
test validate :css_variant type + options (Surface.APITest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 24.0):
test/surface/component_test.exs#L199
test raise compile error if option :slot is not a string (Surface.ComponentTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 24.0):
test/surface/constructs/case_test.exs#L89
test raise error if there's no {#match} sub-blocks (Surface.Constructs.CaseTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 24.0):
test/surface/components/context_test.exs#L1247
test warn on using <#slot ...> inside components that propagate context through slots (Surface.Components.ContextTest)
|
mix test (Elixir 1.13.4 | Erlang/OTP 24.0):
lib/surface.ex#L503
Phoenix.LiveView.HTMLEngine.annotate_body/1 is undefined or private
|
mix test (Elixir 1.13.4 | Erlang/OTP 24.0):
lib/surface/renderer.ex#L26
Phoenix.LiveView.HTMLEngine.annotate_body/1 is undefined or private
|