Skip to main content
Mod Moved Comments To Chat
edited tags
Link
MD XF
  • 14.2k
  • 5
  • 70
  • 108
edited tags
Link
MD XF
  • 14.2k
  • 5
  • 70
  • 108
Tweeted twitter.com/StackCodeGolf/status/888540406048202752
edited body
Source Link
user72528
  • 1.5k
  • 2
  • 9
  • 10

Challenge

Write the shortest program that, when compiled or executed, produces a fatal error message smaller than the program itself. The error message may not be generated by the program itself, such as python'sPython's raise. A valid answer must include both the code and the error message. Shortest valid answer wins.

No error message does not count as an error message.

Example (Lua)

Code (46 bytes):

[ --aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Error (45 bytes):

[string "[..."]:1: unexpected symbol near '[' 

Challenge

Write the shortest program that, when compiled or executed, produces a fatal error message smaller than the program itself. The error message may not be generated by the program itself, such as python's raise. A valid answer must include both the code and the error message. Shortest valid answer wins.

No error message does not count as an error message.

Example (Lua)

Code (46 bytes):

[ --aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Error (45 bytes):

[string "[..."]:1: unexpected symbol near '[' 

Challenge

Write the shortest program that, when compiled or executed, produces a fatal error message smaller than the program itself. The error message may not be generated by the program itself, such as Python's raise. A valid answer must include both the code and the error message. Shortest valid answer wins.

No error message does not count as an error message.

Example (Lua)

Code (46 bytes):

[ --aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Error (45 bytes):

[string "[..."]:1: unexpected symbol near '[' 
deleted 10 characters in body
Source Link
user72528
  • 1.5k
  • 2
  • 9
  • 10
Loading
added 5 characters in body
Source Link
user72528
  • 1.5k
  • 2
  • 9
  • 10
Loading
Source Link
user72528
  • 1.5k
  • 2
  • 9
  • 10
Loading