📄 no.150.mal
字号:
# Monet Mil to Mal compiler# Copyright (c) 2001-2004, CWI. All rights reserved.#Predefined code segment#The compiler can not guarantee an accurate compilation,#because MIL unlike MAL is a dynamically typed language.#A few guidelines to maximize usefullness.#- make the type of variables explicit, in particular 'nil'#- upon advice of M2m to remap identifiers, change it in your program directly#use the "mil_schema" for additional support routines# io.print("# >Number: 150\n");# io.print("# >Category: MIL\n");# io.print("# >Synopsis: Mserver crashes on non-existing module.\n");# io.print("# >Confidential: no\n");# io.print("# >Severity: critical\n");# io.print("# >Priority: high\n");# io.print("# >Responsible: boncz (Peter Boncz)\n");# io.print("# >State: open\n");# io.print("# >Class: sw-bug\n");# io.print("# >Submitter-Id: unknown\n");# io.print("# >Arrival-Date: Wed Apr 8 16:48:12 1998\n");# io.print("# >Originator: quak@cwi.nl\n");# io.print("# >Organization:\n");# io.print("# UvA\n");# io.print("# >Release: 980101\n");# io.print("# >Environment:\n");# io.print("# solaris\n");# io.print("# >Description:\n");# io.print("# On solaris if you load a module which does not exist,\n");# io.print("# the Mserver crashes. How to repeat:\n");# io.print("# \n");# io.print("# Mclient\n");# io.print("# > module(\"jabberwocky\");\n");# io.print("# \n");# io.print("# (Under the assumption that the module \"jabberwocky\"\n");# io.print("# does not exist\n");# io.print("setoid(oid(20000000));"); aa_a := calc.oid(20000000); ba_a := calc.setoid(aa_a);# io.print("quit();"); ca_a := clients.quit();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -