CSML-by-Clevy / csml-engine

CSML is an easy-to-use chatbot programming language and framework.

Home Page:https://csml.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build should fail when using an unknown function

bastienbot opened this issue · comments

Is your feature request related to a problem? Please describe.
What using a native CSML function, in a flow, build should fail if this function is neither in the current flow nor imported. This would avoid errors in runtime.

Describe the solution you'd like
The following flow should fail to build

start:
  say aRandomFunction()
  goto end

The code above should build only if the function in present in the flow or imported

Describe alternatives you've considered
None