I'm not really sure why it is useful, but -export([]), so exporting nothing, is used in OTP, so needs to be supported. It appears that another -export is used later in the file in these cases, so perhaps -export need to be accumulating instead of one-time use.
I'm not really sure why it is useful, but
-export([])
, so exporting nothing, is used in OTP, so needs to be supported. It appears that another-export
is used later in the file in these cases, so perhaps-export
need to be accumulating instead of one-time use.Affected files in OTP:
lib/common_test/src/ct_master_status.erl
lib/common_test/src/test_server.erl
lib/wx/src/gen/wxClipboardTextEvent.erl
lib/wx/src/gen/wxDataObject.erl
lib/wx/src/gen/wxClipboardTextEvent.erl
lib/wx/src/gen/wxDataObject.erl
lib/wx/src/gen/wxDisplayChangedEvent.erl
lib/wx/src/gen/wxGBSizerItem.erl
lib/wx/src/gen/wxGraphicsBrush.erl
lib/wx/src/gen/wxGraphicsFont.erl
lib/wx/src/gen/wxGraphicsPen.erl
lib/wx/src/gen/wxInitDialogEvent.erl
lib/wx/src/gen/wxMaximizeEvent.erl
lib/wx/src/gen/wxMouseCaptureLostEvent.erl
lib/wx/src/gen/wxPaintEvent.erl
lib/wx/src/gen/wxPreviewCanvas.erl
lib/wx/src/gen/wxSysColourChangedEvent.erl
lib/wx/src/gen/wxTaskBarIconEvent.erl
lib/wx/src/gen/wxWindowCreateEvent.erl
lib/wx/src/gen/wxWindowDestroyEvent.erl