Skip to content

Commit

Permalink
Fix <.nonexistant> LTM crash, broken default <.ws>
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Oct 25, 2010
1 parent 4c508d4 commit aee9ca3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/Cursor.cs
Expand Up @@ -519,7 +519,7 @@ public Cursor(Cursor parent, string method, int from, int to)
ks.Push(Kernel.NewROScalar(At(p)));
}

return Kernel.NewROScalar(lst);
return Kernel.NewRWListVar(lst);
}
}

Expand Down Expand Up @@ -647,6 +647,10 @@ public struct Edge {
if (Lexer.LtmTrace && method != null)
Console.WriteLine("+ Found method");

if (method == null) {
return method_cache[name] = new LADImp();
}

sub = ((SubInfo)(((DynObject)method).GetSlot("info"))).ltm;

if (Lexer.LtmTrace)
Expand Down

0 comments on commit aee9ca3

Please sign in to comment.