BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

any() expression not available in 2.1?

Open Clooney24 opened this issue 3 years ago • 3 comments

I used the any() expression in 1.4 without problems. In Composer 2.1 it is marked as a warning with a hint that's not a built-in function?

image

Version: 2.1.0 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0

Clooney24 avatar Aug 09 '21 09:08 Clooney24

Hi @cwhitten / @srinaath, can you guys take a look at this one please?

Thanks

gabog avatar Aug 09 '21 18:08 gabog

Hi @Clooney24,

I can actually reproduce this warning in one of the 2.1.x nightly builds of Composer:

image

However, this is just a warning (one that shouldn't exist -- because any() is a prebuilt function) and your bot should still build successfully and evaluate the any function correctly:

image

This appears to be an error in the Composer language server that is not properly recognizing any as a prebuilt function.

tonyanziano avatar Aug 10 '21 17:08 tonyanziano

@cwhitten looks likes a solid bug. I will exempt it from daily DRI.

compulim avatar Sep 20 '21 18:09 compulim

Closing as the fix was introduced in #9486

ceciliaavila avatar Jan 23 '23 18:01 ceciliaavila