feat(markup): bracket-marked calls with pre_modifiers
Stabilize `mod… [callee] args` (modifiers → name=True) alongside link-index disambiguation; expand in interp/bytecode, show in view, and document lib/view code-as-docs waves before stdlib rewrite. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
5058f5ddcf
commit
0e0655b316
17 files changed
+676
-56
No files matched your search
@@ -434,7 +434,9 @@ impl<'a> FnCompiler<'a> {
|
||||
}
|
||||
|
||||
fn compile_call(&mut self, call: &CallExpr, as_stmt: bool) -> Result<()> {
|
||||
let mut call = call.clone();
|
||||
let mut call = call
|
||||
.with_modifiers_expanded()
|
||||
.map_err(|m| self.err(m))?;
|
||||
if let Some(path) = &call.path {
|
||||
// Bare dotted callee `a.b`: if `a` is a local variable, it is a method
|
||||
// receiver (Python-style unified namespace); otherwise it's a library path.
|
||||
|
||||
Reference in new issue
Block a user