nitlanguage
/
nit.git
/ tree
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
| tree
history
|
HEAD
|
snapshot
syntax: variable assignment can bypass cast
[nit.git]
/
tests
/
drwxr-xr-x
..
-rw-r--r--
251
Makefile
blob
|
history
|
raw
-rw-r--r--
301
README
blob
|
history
|
raw
-rw-r--r--
702
base_abort.nit
blob
|
history
|
raw
-rw-r--r--
794
base_array.nit
blob
|
history
|
raw
-rw-r--r--
1213
base_as_cast.nit
blob
|
history
|
raw
-rw-r--r--
1054
base_attr.nit
blob
|
history
|
raw
-rw-r--r--
1100
base_attr_def.nit
blob
|
history
|
raw
-rw-r--r--
813
base_attr_init_val1.nit
blob
|
history
|
raw
-rw-r--r--
726
base_attr_init_val2.nit
blob
|
history
|
raw
-rw-r--r--
1043
base_classid.nit
blob
|
history
|
raw
-rw-r--r--
1044
base_closure1.nit
blob
|
history
|
raw
-rw-r--r--
1035
base_closure10.nit
blob
|
history
|
raw
-rw-r--r--
1077
base_closure2.nit
blob
|
history
|
raw
-rw-r--r--
1091
base_closure3.nit
blob
|
history
|
raw
-rw-r--r--
1064
base_closure4.nit
blob
|
history
|
raw
-rw-r--r--
1059
base_closure5.nit
blob
|
history
|
raw
-rw-r--r--
1172
base_closure6.nit
blob
|
history
|
raw
-rw-r--r--
1031
base_closure7.nit
blob
|
history
|
raw
-rw-r--r--
1027
base_closure8.nit
blob
|
history
|
raw
-rw-r--r--
1364
base_closure9.nit
blob
|
history
|
raw
-rw-r--r--
1105
base_closure_break.nit
blob
|
history
|
raw
-rw-r--r--
925
base_closure_default1.nit
blob
|
history
|
raw
-rw-r--r--
961
base_closure_default2.nit
blob
|
history
|
raw
-rw-r--r--
927
base_closure_default3.nit
blob
|
history
|
raw
-rw-r--r--
947
base_closure_default4.nit
blob
|
history
|
raw
-rw-r--r--
1103
base_closure_multi.nit
blob
|
history
|
raw
-rw-r--r--
1214
base_closure_raf.nit
blob
|
history
|
raw
-rw-r--r--
719
base_combined_assignment.nit
blob
|
history
|
raw
-rw-r--r--
1063
base_compile.nit
blob
|
history
|
raw
-rw-r--r--
926
base_control_flow.nit
blob
|
history
|
raw
-rw-r--r--
931
base_control_flow2.nit
blob
|
history
|
raw
-rw-r--r--
659
base_empty.nit
blob
|
history
|
raw
-rw-r--r--
703
base_empty_comments.nit
blob
|
history
|
raw
-rw-r--r--
687
base_empty_module.nit
blob
|
history
|
raw
-rw-r--r--
1676
base_eq.nit
blob
|
history
|
raw
-rw-r--r--
1472
base_eq_int.nit
blob
|
history
|
raw
-rw-r--r--
2015
base_eq_int2.nit
blob
|
history
|
raw
-rw-r--r--
1165
base_gen.nit
blob
|
history
|
raw
-rw-r--r--
929
base_gen_f.nit
blob
|
history
|
raw
-rw-r--r--
1129
base_gen_int.nit
blob
|
history
|
raw
-rw-r--r--
1252
base_if_expr.nit
blob
|
history
|
raw
-rw-r--r--
1064
base_init_auto.nit
blob
|
history
|
raw
-rw-r--r--
1062
base_init_inh.nit
blob
|
history
|
raw
-rw-r--r--
1063
base_init_inherit.nit
blob
|
history
|
raw
-rw-r--r--
1081
base_init_inherit2.nit
blob
|
history
|
raw
-rw-r--r--
847
base_init_inherit3.nit
blob
|
history
|
raw
-rw-r--r--
733
base_init_inherit4.nit
blob
|
history
|
raw
-rw-r--r--
916
base_init_inherit5.nit
blob
|
history
|
raw
-rw-r--r--
2057
base_init_linext.nit
blob
|
history
|
raw
-rw-r--r--
1960
base_init_linext2.nit
blob
|
history
|
raw
-rw-r--r--
1106
base_init_linext_raf.nit
blob
|
history
|
raw
-rw-r--r--
982
base_init_raf.nit
blob
|
history
|
raw
-rw-r--r--
405
base_init_simple.nit
blob
|
history
|
raw
-rw-r--r--
1413
base_inline_statement.nit
blob
|
history
|
raw
-rw-r--r--
800
base_int.nit
blob
|
history
|
raw
-rw-r--r--
1135
base_isa.nit
blob
|
history
|
raw
-rw-r--r--
1093
base_isa_cast.nit
blob
|
history
|
raw
-rw-r--r--
1182
base_isa_cast2.nit
blob
|
history
|
raw
-rw-r--r--
1083
base_isa_cast3.nit
blob
|
history
|
raw
-rw-r--r--
1424
base_isa_cast4.nit
blob
|
history
|
raw
-rw-r--r--
1149
base_isa_cast_self.nit
blob
|
history
|
raw
-rw-r--r--
910
base_isa_nil.nit
blob
|
history
|
raw
-rw-r--r--
1033
base_meth_call.nit
blob
|
history
|
raw
-rw-r--r--
746
base_once.nit
blob
|
history
|
raw
-rw-r--r--
1134
base_primitive.nit
blob
|
history
|
raw
-rw-r--r--
1220
base_primitive_null.nit
blob
|
history
|
raw
-rw-r--r--
874
base_prot.nit
blob
|
history
|
raw
-rw-r--r--
930
base_prot2.nit
blob
|
history
|
raw
-rw-r--r--
802
base_prot3.nit
blob
|
history
|
raw
-rw-r--r--
1263
base_sig_inh.nit
blob
|
history
|
raw
-rw-r--r--
1139
base_simple.nit
blob
|
history
|
raw
-rw-r--r--
1301
base_simple2.nit
blob
|
history
|
raw
-rw-r--r--
1363
base_super_linext.nit
blob
|
history
|
raw
-rw-r--r--
1259
base_super_linext_raf.nit
blob
|
history
|
raw
-rw-r--r--
1087
base_var.nit
blob
|
history
|
raw
-rw-r--r--
1180
base_var_assignment_flow.nit
blob
|
history
|
raw
-rw-r--r--
934
base_virtual_type.nit
blob
|
history
|
raw
-rw-r--r--
956
base_virtual_type2.nit
blob
|
history
|
raw
-rw-r--r--
870
base_virtual_type3.nit
blob
|
history
|
raw
-rw-r--r--
770
base_virtual_type4.nit
blob
|
history
|
raw
-rw-r--r--
800
base_virtual_type5.nit
blob
|
history
|
raw
-rw-r--r--
1046
base_virtual_type6.nit
blob
|
history
|
raw
-rw-r--r--
775
base_virtual_type7.nit
blob
|
history
|
raw
-rw-r--r--
1107
base_virtual_type_self.nit
blob
|
history
|
raw
-rw-r--r--
1088
bench_421.nit
blob
|
history
|
raw
-rw-r--r--
448
bench_421_ref.c
blob
|
history
|
raw
-rw-r--r--
2302
bench_complex_sort.nit
blob
|
history
|
raw
-rw-r--r--
965
bench_fib.nit
blob
|
history
|
raw
-rw-r--r--
215
bench_fib_ref.c
blob
|
history
|
raw
-rw-r--r--
1082
bench_int_range_closure.nit
blob
|
history
|
raw
-rw-r--r--
1029
bench_int_range_iterator.nit
blob
|
history
|
raw
-rw-r--r--
4681
bench_netsim.nit
blob
|
history
|
raw
-rw-r--r--
1211
bench_nsieve_bool.nit
blob
|
history
|
raw
-rw-r--r--
909
bench_prime.nit
blob
|
history
|
raw
-rw-r--r--
1661
bench_random_n_sort.nit
blob
|
history
|
raw
-rw-r--r--
1443
bench_send.nit
blob
|
history
|
raw
-rw-r--r--
1284
bench_send2.nit
blob
|
history
|
raw
-rw-r--r--
1266
bench_string_append.nit
blob
|
history
|
raw
-rw-r--r--
807
bench_string_super.nit
blob
|
history
|
raw
-rw-r--r--
826
bench_string_tos.nit
blob
|
history
|
raw
-rw-r--r--
846
bench_tak.nit
blob
|
history
|
raw
-rw-r--r--
676
error_array_ambig.nit
blob
|
history
|
raw
-rw-r--r--
708
error_attr_2def.nit
blob
|
history
|
raw
-rw-r--r--
719
error_attr_assign.nit
blob
|
history
|
raw
-rw-r--r--
673
error_attr_unk.nit
blob
|
history
|
raw
-rw-r--r--
693
error_class_glob.nit
blob
|
history
|
raw
-rw-r--r--
708
error_cons_arity.nit
blob
|
history
|
raw
-rw-r--r--
701
error_cons_arity2.nit
blob
|
history
|
raw
-rw-r--r--
708
error_constraint.nit
blob
|
history
|
raw
-rw-r--r--
701
error_constraint_raf.nit.broken
blob
|
history
|
raw
-rw-r--r--
676
error_decl_type_var.nit
blob
|
history
|
raw
-rw-r--r--
1383
error_defs.nit
blob
|
history
|
raw
-rw-r--r--
677
error_for_coll.nit
blob
|
history
|
raw
-rw-r--r--
691
error_formal.nit
blob
|
history
|
raw
-rw-r--r--
681
error_fun_ret.nit
blob
|
history
|
raw
-rw-r--r--
711
error_fun_ret2.nit
blob
|
history
|
raw
-rw-r--r--
718
error_fun_ret3.nit
blob
|
history
|
raw
-rw-r--r--
713
error_fun_ret4.nit
blob
|
history
|
raw
-rw-r--r--
725
error_fun_ret5.nit
blob
|
history
|
raw
-rw-r--r--
713
error_gen_f_inh_clash.nit
blob
|
history
|
raw
-rw-r--r--
673
error_if_bool.nit
blob
|
history
|
raw
-rw-r--r--
710
error_inh_clash.nit
blob
|
history
|
raw
-rw-r--r--
745
error_inh_loop.nit
blob
|
history
|
raw
-rw-r--r--
1017
error_init_auto.nit
blob
|
history
|
raw
-rw-r--r--
700
error_kern_attr_any.nit
blob
|
history
|
raw
-rw-r--r--
699
error_kern_attr_int.nit
blob
|
history
|
raw
-rw-r--r--
682
error_left_bool.nit
blob
|
history
|
raw
-rw-r--r--
674
error_loop_bool_while.nit
blob
|
history
|
raw
-rw-r--r--
724
error_meth_2def.nit
blob
|
history
|
raw
-rw-r--r--
737
error_meth_2def2.nit
blob
|
history
|
raw
-rw-r--r--
706
error_meth_create.nit
blob
|
history
|
raw
-rw-r--r--
664
error_meth_unk1.nit
blob
|
history
|
raw
-rw-r--r--
669
error_meth_unk2.nit
blob
|
history
|
raw
-rw-r--r--
671
error_mod_unk.nit
blob
|
history
|
raw
-rw-r--r--
781
error_prop_glob.nit
blob
|
history
|
raw
-rw-r--r--
842
error_prop_loc.nit
blob
|
history
|
raw
-rw-r--r--
719
error_ref_attr.nit
blob
|
history
|
raw
-rw-r--r--
720
error_ref_fun.nit
blob
|
history
|
raw
-rw-r--r--
726
error_ref_param.nit
blob
|
history
|
raw
-rw-r--r--
741
error_ref_proc.nit
blob
|
history
|
raw
-rw-r--r--
734
error_ref_ret.nit
blob
|
history
|
raw
-rw-r--r--
682
error_req_loop1.nit
blob
|
history
|
raw
-rw-r--r--
682
error_req_loop2.nit
blob
|
history
|
raw
-rw-r--r--
689
error_ret_fun.nit
blob
|
history
|
raw
-rw-r--r--
686
error_ret_proc.nit
blob
|
history
|
raw
-rw-r--r--
693
error_ret_type.nit
blob
|
history
|
raw
-rw-r--r--
681
error_right_bool.nit
blob
|
history
|
raw
-rw-r--r--
730
error_spe_attr.nit
blob
|
history
|
raw
-rw-r--r--
748
error_spe_fun.nit
blob
|
history
|
raw
-rw-r--r--
767
error_spe_param.nit
blob
|
history
|
raw
-rw-r--r--
765
error_spe_param2.nit
blob
|
history
|
raw
-rw-r--r--
747
error_spe_proc.nit
blob
|
history
|
raw
-rw-r--r--
765
error_spe_ret.nit
blob
|
history
|
raw
-rw-r--r--
699
error_star_type.nit
blob
|
history
|
raw
-rw-r--r--
900
error_super_many.nit
blob
|
history
|
raw
-rw-r--r--
712
error_super_none.nit
blob
|
history
|
raw
-rw-r--r--
678
error_unk_class.nit
blob
|
history
|
raw
-rw-r--r--
675
error_var_args.nit
blob
|
history
|
raw
-rw-r--r--
680
error_var_args2.nit
blob
|
history
|
raw
-rw-r--r--
678
error_var_assign.nit
blob
|
history
|
raw
-rw-r--r--
3
example_421.inputs
blob
|
history
|
raw
-rw-r--r--
944
example_421.nit
blob
|
history
|
raw
-rw-r--r--
1656
example_beer.nit
blob
|
history
|
raw
-rw-r--r--
731
example_exec_ls.nit
blob
|
history
|
raw
-rw-r--r--
2360
example_hanoi.nit
blob
|
history
|
raw
-rw-r--r--
11330
example_objet.nit
blob
|
history
|
raw
-rw-r--r--
1373
example_point.nit
blob
|
history
|
raw
-rw-r--r--
917
example_procedural_string.nit
blob
|
history
|
raw
-rw-r--r--
912
example_simple.nit
blob
|
history
|
raw
-rw-r--r--
1393
example_sorter.nit
blob
|
history
|
raw
-rw-r--r--
1945
example_sorts.nit
blob
|
history
|
raw
-rw-r--r--
1584
example_string.nit
blob
|
history
|
raw
-rw-r--r--
1644
example_time.nit
blob
|
history
|
raw
-rw-r--r--
917
example_variable.nit
blob
|
history
|
raw
-rw-r--r--
44
example_wc.inputs
blob
|
history
|
raw
-rw-r--r--
1033
example_wc.nit
blob
|
history
|
raw
-rw-r--r--
0
fibonacci.inputs
blob
|
history
|
raw
-rw-r--r--
1053
galerie.nit
blob
|
history
|
raw
-rw-r--r--
1173
gccbug_attribute_access.nit
blob
|
history
|
raw
-rw-r--r--
845
module_0.nit
blob
|
history
|
raw
-rw-r--r--
1208
module_1.nit
blob
|
history
|
raw
-rw-r--r--
1119
module_2.nit
blob
|
history
|
raw
-rw-r--r--
915
module_simple.nit
blob
|
history
|
raw
-rw-r--r--
728
rterror_check.nit
blob
|
history
|
raw
-rw-r--r--
1084
rterror_cov_param.nit
blob
|
history
|
raw
-rw-r--r--
783
rterror_cov_ret.nit
blob
|
history
|
raw
-rw-r--r--
1092
rterror_deep.nit
blob
|
history
|
raw
-rw-r--r--
816
rterror_nilcall_attr.nit
blob
|
history
|
raw
-rw-r--r--
808
rterror_nilcall_mono.nit
blob
|
history
|
raw
-rw-r--r--
1031
rterror_nilcall_poly.nit
blob
|
history
|
raw
-rw-r--r--
787
rterror_nilcall_undead.nit
blob
|
history
|
raw
drwxr-xr-x
-
sav
tree
|
history
-rw-r--r--
2
shootout_ackermann.args
blob
|
history
|
raw
-rw-r--r--
1052
shootout_ackermann.nit
blob
|
history
|
raw
-rw-r--r--
3
shootout_binarytrees.args
blob
|
history
|
raw
-rw-r--r--
2381
shootout_binarytrees.nit
blob
|
history
|
raw
-rw-r--r--
4
shootout_mandelbrot.args
blob
|
history
|
raw
-rw-r--r--
1748
shootout_mandelbrot.nit
blob
|
history
|
raw
-rw-r--r--
1176
shootout_nsieve.nit
blob
|
history
|
raw
-rw-r--r--
5
shootout_pidigits.args
blob
|
history
|
raw
-rw-r--r--
2893
shootout_pidigits.nit
blob
|
history
|
raw
-rw-r--r--
792
shootout_startup.nit
blob
|
history
|
raw
-rw-r--r--
910
simple.nit
blob
|
history
|
raw
-rw-r--r--
9547
sol.nit
blob
|
history
|
raw
-rwxr-xr-x
1200
store_save.sh
blob
|
history
|
raw
-rw-r--r--
848
test_accessor.nit
blob
|
history
|
raw
-rw-r--r--
13
test_args.args
blob
|
history
|
raw
-rw-r--r--
745
test_args.nit
blob
|
history
|
raw
-rw-r--r--
862
test_array.nit
blob
|
history
|
raw
-rw-r--r--
857
test_array_int.nit
blob
|
history
|
raw
-rw-r--r--
686
test_atoi.nit
blob
|
history
|
raw
-rw-r--r--
826
test_attr.nit
blob
|
history
|
raw
-rw-r--r--
884
test_attr_long.nit
blob
|
history
|
raw
-rw-r--r--
962
test_blocks.nit
blob
|
history
|
raw
-rw-r--r--
966
test_boxing.nit
blob
|
history
|
raw
-rw-r--r--
1016
test_break.nit
blob
|
history
|
raw
-rw-r--r--
936
test_calls.nit
blob
|
history
|
raw
-rw-r--r--
477
test_closure_inlined_return.nit
blob
|
history
|
raw
-rw-r--r--
1131
test_coll.nit
blob
|
history
|
raw
-rw-r--r--
725
test_coll_array.nit
blob
|
history
|
raw
-rw-r--r--
1229
test_combined_assignment.nit
blob
|
history
|
raw
-rw-r--r--
1056
test_cond.nit
blob
|
history
|
raw
-rw-r--r--
1369
test_create.nit
blob
|
history
|
raw
-rw-r--r--
1552
test_create_more.nit
blob
|
history
|
raw
-rw-r--r--
1602
test_eq.nit
blob
|
history
|
raw
-rw-r--r--
1341
test_eq2.nit
blob
|
history
|
raw
-rw-r--r--
1728
test_equal.nit
blob
|
history
|
raw
-rw-r--r--
1212
test_equal_nil.nit
blob
|
history
|
raw
-rw-r--r--
1001
test_exec.nit
blob
|
history
|
raw
-rw-r--r--
42
test_extern.extern
blob
|
history
|
raw
-rw-r--r--
823
test_extern.nit
blob
|
history
|
raw
-rw-r--r--
104
test_extern_nit.c
blob
|
history
|
raw
-rw-r--r--
52
test_extern_nit.h
blob
|
history
|
raw
-rw-r--r--
8
test_fdstream.inputs
blob
|
history
|
raw
-rw-r--r--
854
test_fdstream.nit
blob
|
history
|
raw
-rw-r--r--
863
test_file_read.nit
blob
|
history
|
raw
-rw-r--r--
834
test_file_write.nit
blob
|
history
|
raw
-rw-r--r--
814
test_float.nit
blob
|
history
|
raw
-rw-r--r--
785
test_for.nit
blob
|
history
|
raw
-rw-r--r--
1450
test_gen.nit
blob
|
history
|
raw
-rw-r--r--
1392
test_gen_inh.nit
blob
|
history
|
raw
-rw-r--r--
776
test_genplus.nit
blob
|
history
|
raw
-rw-r--r--
15
test_gets.inputs
blob
|
history
|
raw
-rw-r--r--
685
test_gets.nit
blob
|
history
|
raw
-rw-r--r--
806
test_hash.nit
blob
|
history
|
raw
-rw-r--r--
1382
test_id.nit
blob
|
history
|
raw
-rw-r--r--
2407
test_inh.nit
blob
|
history
|
raw
-rw-r--r--
1173
test_inheritance.nit
blob
|
history
|
raw
-rw-r--r--
932
test_inheritance_raf.nit
blob
|
history
|
raw
-rw-r--r--
861
test_int_to_s.nit
blob
|
history
|
raw
-rw-r--r--
6
test_io.inputs
blob
|
history
|
raw
-rw-r--r--
767
test_io.nit
blob
|
history
|
raw
-rw-r--r--
1196
test_isa.nit
blob
|
history
|
raw
-rw-r--r--
850
test_kernel.nit
blob
|
history
|
raw
-rw-r--r--
847
test_let.nit
blob
|
history
|
raw
-rw-r--r--
1516
test_list.nit
blob
|
history
|
raw
-rw-r--r--
2872
test_map.nit
blob
|
history
|
raw
-rw-r--r--
1245
test_map_closure_default.nit
blob
|
history
|
raw
-rw-r--r--
1024
test_math.nit
blob
|
history
|
raw
-rw-r--r--
850
test_mem.nit
blob
|
history
|
raw
-rw-r--r--
1471
test_meta.nit
blob
|
history
|
raw
-rw-r--r--
1385
test_multiconstraint.nit
blob
|
history
|
raw
-rw-r--r--
974
test_multiconstraint_inh.nit
blob
|
history
|
raw
-rw-r--r--
687
test_multiconstraint_ref.nit
blob
|
history
|
raw
-rw-r--r--
859
test_multiconstraint_ref2.nit
blob
|
history
|
raw
-rw-r--r--
811
test_nil.nit
blob
|
history
|
raw
-rw-r--r--
1139
test_obj.nit
blob
|
history
|
raw
-rw-r--r--
1471
test_operator_brackets.nit
blob
|
history
|
raw
-rw-r--r--
1596
test_operators.nit
blob
|
history
|
raw
-rw-r--r--
1439
test_paire.nit
blob
|
history
|
raw
-rw-r--r--
751
test_print.nit
blob
|
history
|
raw
-rw-r--r--
782
test_range.nit
blob
|
history
|
raw
-rw-r--r--
1439
test_refinement.nit
blob
|
history
|
raw
-rw-r--r--
993
test_return.nit
blob
|
history
|
raw
-rw-r--r--
996
test_star.nit
blob
|
history
|
raw
-rw-r--r--
5
test_stdio.inputs
blob
|
history
|
raw
-rw-r--r--
801
test_stdio.nit
blob
|
history
|
raw
-rw-r--r--
715
test_string.nit
blob
|
history
|
raw
-rw-r--r--
914
test_string_long.nit
blob
|
history
|
raw
-rw-r--r--
1163
test_string_search.nit
blob
|
history
|
raw
-rw-r--r--
759
test_string_unicode.nit
blob
|
history
|
raw
-rw-r--r--
1158
test_substring.nit
blob
|
history
|
raw
-rw-r--r--
829
test_super.nit
blob
|
history
|
raw
-rw-r--r--
888
test_super_explicit.nit
blob
|
history
|
raw
-rw-r--r--
934
test_super_gen.nit
blob
|
history
|
raw
-rw-r--r--
833
test_super_gen_raf.nit
blob
|
history
|
raw
-rw-r--r--
863
test_super_param.nit
blob
|
history
|
raw
-rw-r--r--
791
test_super_param_raf.nit
blob
|
history
|
raw
-rw-r--r--
815
test_super_param_raf2.nit
blob
|
history
|
raw
-rw-r--r--
880
test_superstring.nit
blob
|
history
|
raw
-rw-r--r--
1011
test_symbol.nit
blob
|
history
|
raw
-rw-r--r--
826
test_undead.nit
blob
|
history
|
raw
-rw-r--r--
1436
test_variance_attr.nit
blob
|
history
|
raw
-rw-r--r--
1652
test_variance_param.nit
blob
|
history
|
raw
-rw-r--r--
1680
test_variance_ret.nit
blob
|
history
|
raw
-rwxr-xr-x
2973
tests.sh
blob
|
history
|
raw