Skip to content

More tweaks to support custom root nodes. #65

More tweaks to support custom root nodes.

More tweaks to support custom root nodes. #65

Triggered via push November 26, 2024 16:15
Status Failure
Total duration 1m 32s
Artifacts

CI.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Documentation: ../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/index.md:96-107 ```@example rule1 # Create the knowledgebase: root = ReteRootNode("root") install(root, PairConsectutiveLetters()) # Assert the characters 'a' through 'e' into the knowledgebase: for c in 'a':'e' receive(root, c) end askc(Collector{String}(), root) ``` exception = MethodError: no method matching install(::ReteRootNode, ::Main.__atexample__named__rule1.PairConsectutiveLetters) The function `install` exists, but no method is defined for this combination of argument types. Closest candidates are: install(!Matched::CanInstallRulesTrait, ::Any, !Matched::Main.__atexample__named__rule1.PairConsectutiveLetters) @ Main.__atexample__named__rule1 ~/work/Rete.jl/Rete.jl/src/rules.jl:172 install(!Matched::CanInstallRulesTrait, ::Any, !Matched::Type) @ Rete ~/work/Rete.jl/Rete.jl/src/root_nodes.jl:29 install(::T, !Matched::Type) where T @ Rete ~/work/Rete.jl/Rete.jl/src/root_nodes.jl:26 Stacktrace: [1] top-level scope @ index.md:99 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:801
Documentation
Process completed with exit code 1.