Improve errors and diagnostics #1493
Annotations
10 errors and 2 warnings
test/surface/catalogue/playground_test.exs#L24
test subject is required (Surface.Catalogue.PlaygroundTest)
|
test/surface/compiler/parser_test.exs#L990
test blocks raise error on blocks without expression (Surface.Compiler.ParserTest)
|
test/surface/compiler/parser_test.exs#L738
test attributes raise on shorthand notation for assigning attributes with invalid expression (Surface.Compiler.ParserTest)
|
test/surface/compiler/parser_test.exs#L754
test attributes raise on assigning {= ...} to an attribute (Surface.Compiler.ParserTest)
|
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)
|
test/surface/api_test.exs#L431
test slot raise compile error when a slot arg is bound to a non-existing property (Surface.APITest)
|
test/surface/api_test.exs#L129
test validate :css_variant type + options (Surface.APITest)
|
test/surface/component_test.exs#L199
test raise compile error if option :slot is not a string (Surface.ComponentTest)
|
test/surface/constructs/case_test.exs#L89
test raise error if there's no {#match} sub-blocks (Surface.Constructs.CaseTest)
|
test/surface/components/context_test.exs#L1247
test warn on using <#slot ...> inside components that propagate context through slots (Surface.Components.ContextTest)
|
lib/surface.ex#L503
Phoenix.LiveView.HTMLEngine.annotate_body/1 is undefined or private
|
lib/surface/renderer.ex#L26
Phoenix.LiveView.HTMLEngine.annotate_body/1 is undefined or private
|
This job failed
Loading