Add test to recreate NativeCallContext.

This commit is contained in:
Stephen Chung
2022-08-26 16:20:23 +08:00
parent 296d5c054c
commit 204284f4f7
3 changed files with 81 additions and 17 deletions

View File

@@ -1960,9 +1960,6 @@ impl Module {
/// The entire [`AST`][crate::AST] is encapsulated into each function, allowing functions to
/// cross-call each other.
///
/// Functions in the global namespace, plus all functions defined in the [`Module`], are
/// _merged_ into a _unified_ namespace. Therefore, all functions will be found.
///
/// # Example
///
/// ```
@@ -1993,9 +1990,6 @@ impl Module {
/// The entire [`AST`][crate::AST] is encapsulated into each function, allowing functions to
/// cross-call each other.
///
/// Functions in the global namespace, plus all functions defined in the [`Module`], are
/// _merged_ into a _unified_ namespace. Therefore, all functions will be found.
///
/// # WARNING - Low Level API
///
/// This function is very low level.