This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch NLPCRAFT-278
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-278 by this push:
     new 4911679  Update NCIdlCompilerBase.scala
4911679 is described below

commit 4911679571ceab2ea623a3653a1f0f13a5cc74d4
Author: Aaron Radzinski <[email protected]>
AuthorDate: Thu Mar 25 01:21:20 2021 -0700

    Update NCIdlCompilerBase.scala
---
 .../org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala
 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala
index 1eac1bc..daccbdb 100644
--- 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala
+++ 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala
@@ -1042,7 +1042,7 @@ trait NCIdlCompilerBase {
                 if (isList(v))
                     Z(asList(v).size(), n)
                 else if (isStr(v))
-                    Z(asStr(v), n)
+                    Z(asStr(v).length, n)
                 else
                     throw rtParamTypeError(fun, v, "string or list")
             })

Reply via email to