diff website/src/diff.html.luan @ 1090:616761e0b9f6

update documentation for last change
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 30 Dec 2016 13:13:16 -0700
parents ca169567ce07
children a26fbde7ee28
line wrap: on
line diff
--- a/website/src/diff.html.luan	Thu Dec 29 21:26:45 2016 -0700
+++ b/website/src/diff.html.luan	Fri Dec 30 13:13:16 2016 -0700
@@ -204,6 +204,8 @@
 
 <h4 heading><a name="fn_calls">Function Calls</a></h4>
 
+<p>Unlike Lua, Luan does not allow extra non-nil arguments to be passed to a function.  In Luan, this causes an error.  This change helps find coding mistakes that would be very hard to detect otherwise.</p>
+
 <p>Luan does not support Lua's <code>v:name(args)</code> style object-oriented function call.  Object oriented programming is done in Luan using closures, so this feature is not needed.</p>
 
 <p>Luan doesn't support <em>proper tail calls</em>.  Because Java doesn't support this cleanly, this was left out.</p>