Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1035011 // test_leftArrowScriptCompileErrors

JavaX fragment (include)

!include once #1034831 // Gazelle 22 Function Include for Testing

svoid test_leftArrowScriptCompileErrors() {
  new GazelleV_LeftArrowScriptParser parser;
  parser.allowTheWorld();
  
  // Trying to access a non-static field as a static field
  S src = "Pair a";
  assertFail(src, -> printIndentedStruct(parser.parse(src)));
}

Author comment

Began life as a copy of #1034738

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035011
Snippet name: test_leftArrowScriptCompileErrors
Eternal ID of this version: #1035011/3
Text MD5: bfd4ff34c013fe4353d6d4c21484d8fa
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-27 14:08:55
Source code size: 336 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 189 / 205
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)