A bug or not? create feed in cfscript

Hi,

Not sure if this is a bug or not… I was experimenting to get the syntax
right to create a feed using script syntax.

This works as expected:
feed action=‘create’ properties={} query=QueryNew(’’,) xmlVar=‘myfeed’;
dump(myfeed);

…but this a “the function create has an invalid return value , can’t cast
Object type [StringBuffer] to a value of type [struct]” error

myfeed = new feed(properties={}, query=QueryNew(’’,)).create();

This is on Lucee 4.5

Regards,
Hugo–
Hugo Ahlenius
@Hugo_Ahlenius