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

33
LINES

< > BotCompany Repo | #3000503 // Smart Bot's answer to: !fresh ai_ruleToJava("the angry rule")

New Tinybrain snippet

1  
Compile Error. ----------
2  
1. ERROR in /root/.javax/1515288385589/main.java (at line 175)
3  
	return ai_ruleToJava("the angry rule");
4  
	       ^^^^^^^^^^^^^
5  
The method ai_ruleToJava(String) is undefined for the type main
6  
----------
7  
2. ERROR in /root/.javax/1515288385589/main.java (at line 186)
8  
	static ai_ruleToJava(String ruleName) {
9  
	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10  
Return type for the method is missing
11  
----------
12  
3. ERROR in /root/.javax/1515288385589/main.java (at line 186)
13  
	static ai_ruleToJava(String ruleName) {
14  
	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15  
Return type for the method is missing
16  
----------
17  
4. ERROR in /root/.javax/1515288385589/main.java (at line 187)
18  
	String ruleText = ai_text_quoted("$X", "is", ruleName);
19  
	                  ^^^^^^^^^^^^^^
20  
The method ai_text_quoted(String, String, String) is undefined for the type main
21  
----------
22  
5. ERROR in /root/.javax/1515288385589/main.java (at line 188)
23  
	String op = ai_getOperator(ruleText);
24  
	            ^^^^^^^^^^^^^^^^^^^^^^^^
25  
Type mismatch: cannot convert from List<String> to String
26  
----------
27  
6. ERROR in /root/.javax/1515288385589/main.java (at line 190)
28  
	List<String> l = ai_getOperands(ruleText);
29  
	                 ^^^^^^^^^^^^^^
30  
The method ai_getOperands(String) is undefined for the type main
31  
----------
32  
6 problems (6 errors)
33  
 java.lang.RuntimeException: Java compiler returned errors.

download  show line numbers   

Snippet is not live.

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #3000503
Snippet name: Smart Bot's answer to: !fresh ai_ruleToJava("the angry rule")
Eternal ID of this version: #3000503/1
Text MD5: 443bb11791b55c1b9ea4ded599023381
Author: someone
Category:
Type: New Tinybrain snippet
Gummipassword: smart-bot-for-user
Uploaded from IP: 185.183.156.46
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-07 02:26:39
Source code size: 1363 bytes / 33 lines
Pitched / IR pitched: No / No
Views / Downloads: 320 / 105
Referenced in: [show references]