commit
a2f679bb07
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -66,11 +66,12 @@ jobs:
|
||||
toolchain: [stable]
|
||||
experimental: [false]
|
||||
include:
|
||||
# smoketests for future and experimental toolchains
|
||||
# smoketests for different toolchains
|
||||
- {toolchain: stable, os: windows-latest, experimental: false, flags: ""}
|
||||
- {toolchain: stable, os: macos-latest, experimental: false, flags: ""}
|
||||
- {toolchain: beta, os: ubuntu-latest, experimental: false, flags: ""}
|
||||
- {toolchain: nightly, os: ubuntu-latest, experimental: true, flags: ""}
|
||||
# nightly is a bit volatile
|
||||
#- {toolchain: nightly, os: ubuntu-latest, experimental: true, flags: ""}
|
||||
fail-fast: false
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -1813,7 +1813,7 @@ impl Module {
|
||||
) -> impl Iterator<Item = (FnNamespace, FnAccess, &str, usize)> {
|
||||
self.iter_fn()
|
||||
.filter(|&f| f.func.is_script())
|
||||
.map(|f| (f.namespace, f.access, f.name.as_str(), f.params))
|
||||
.map(|f| (f.namespace, f.access, f.name.as_str(), f.num_params))
|
||||
}
|
||||
|
||||
/// _(internals)_ Get an iterator over all script-defined functions in the [`Module`].
|
||||
|
@ -378,10 +378,8 @@ fn test_closures_external() -> Result<(), Box<EvalAltResult>> {
|
||||
|
||||
#[test]
|
||||
#[cfg(not(feature = "no_closure"))]
|
||||
#[cfg(not(feature = "sync"))]
|
||||
fn test_closures_callback() -> Result<(), Box<EvalAltResult>> {
|
||||
use std::cell::RefCell;
|
||||
use std::rc::Rc;
|
||||
|
||||
type SingleNode = Rc<dyn Node>;
|
||||
|
||||
trait Node {
|
||||
|
Loading…
Reference in New Issue
Block a user