Re: Flat initializer list for union of unnamed struct fields

  • From: Mike Pall <mike-1409@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 8 Sep 2014 23:40:41 +0200

Peter Colberg wrote:
> The LuaJIT manual states [1] that
> 
> “Only the first field of a union can be initialized with a flat initializer.”
> 
> [1] http://luajit.org/ext_ffi_semantics.html#init
> 
> Running the following code with LuaJIT 2.0.3,

Thank you for the bug report and the test case! Fixed in the git
repository.

--Mike

Other related posts: