Skip to content

Commit

Permalink
Pointless change to cmds/error.go. Ignore.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyfrasche committed Jul 12, 2010
1 parent 43fa57e commit 8334569
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gelo/commands/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func SyntaxError(vm *gelo.VM, args *gelo.List, ac uint) gelo.Word {
}
//TODO should get a line-no, etc to allow creation of good error message
gelo.SyntaxError(args)
return gelo.Null //Issue 65
panic("Issue 65")
}

func TypeMismatchError(vm *gelo.VM, args *gelo.List, ac uint) gelo.Word {
Expand All @@ -25,7 +25,7 @@ func TypeMismatchError(vm *gelo.VM, args *gelo.List, ac uint) gelo.Word {
"expected-type recieved-type", args)
}
gelo.TypeMismatch(vm, args.Value.Ser(), args.Next.Value.Ser())
return gelo.Null //Issue 65
panic("Issue 65")
}

func ArgumentError(vm *gelo.VM, args *gelo.List, ac uint) gelo.Word {
Expand All @@ -34,7 +34,7 @@ func ArgumentError(vm *gelo.VM, args *gelo.List, ac uint) gelo.Word {
}
gelo.ArgumentError(vm, args.Value.Ser(), args.Next.Value.Ser(),
args.Next.Next.Value.Ser())
return gelo.Null //Issue 65
panic("Issue 65")
}

var ErrorCommands = map[string]interface{}{
Expand Down

0 comments on commit 8334569

Please sign in to comment.