and a class are: •Invoking new on a struct allocates it on the stack instead of the heap •A struct is passed by value while a class is passed by reference •A struct implicitly inherits from Struct, which inherits from Value. A class implicitly inherits from Reference. http:/ /crystal-lang.org/docs/syntax_and_semantics/structs.html
# for ~lambda.json test $calls = 0 {% for name in %w(interpolation sections inverted delimiters comments partials ~lambdas) %} {{ run “./generate_spec_from_json", “#{name.id}.json" }} {% end %}