Skip to content
العربية

Catalog of error and warning messages

From the reference handbook: docs/handbook/errors/catalog.md · commit 434e13f

This catalog was generated in the reference handbook from the compiler’s sources. The messages are printed by the compiler in Arabic, so they are shown here as the compiler prints them, with their phase names; the sign … marks a variable part of a message.

  • The ID has been stable since 0.8.0: the compiler prints it in the message tag ([خطأ دلالي E0123]) and in --check --json (the id field). It does not change when a message’s wording is improved, and the ID of a removed message is never reused. Every message here has a link by its ID, such as /en/docs/errors/catalog/#E0123. A message the program writes itself (خطا_قاتل in your code) has no ID.
  • Exit code: 2 for compile errors (nothing runs), 3 for runtime errors, 1 for the command line, 0 for a warning (it becomes 2 with --strict, except an advisory one).
  • The warning policy (since 0.17.0): a confirmed or important problem is a compile error, so thirteen warnings became compile errors (among them E0262, E0265, E0266, E0275 and E0476); what the compiler cannot prove is not shown by default, and appears with --warn-unproven (eleven: E0260 E0261 E0268 E0270 E0273 E0276 E0400 E0452 E0471 E0473 E0514). The full table is in migrating from 0.16 to 0.17. The code column in the catalog below still says 0 for these thirteen, as the handbook generated it, while the 0.17.1 compiler exits with code 2 for them.
  • A reference program that prints it: from tests/programs/ in the compiler repository. Under the message, an example from the reference handbook appears if one of its examples prints it.
  • The common errors have a page that explains the cause and the fix of each: common errors.

The most frequent messages, with an example

Section titled “The most frequent messages, with an example”

The messages that appear most often in the output of the reference programs, among those not covered in common errors (which gives the cause and fix of each):

وسيط مدمجة من نوع آخر

Example
اطبع(طول(5))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0193] سطر 1:6 - دالة 'طول' تعمل فقط مع القوائم والمصفوفات والقواميس والنصوص لكن وُجد النوع 'عدد64'   1 | اطبع(طول(5))     |      ^

Exit code: 2

In the error catalog: E0193

وسيط دالة من نوع آخر

Example
داله ضعف(س عدد64) عدد64:
ارجع س * 2
اطبع(ضعف("اثنان"))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0179] سطر 3:10 - الوسيط للمعامل 'س' في الدالة 'ضعف' يجب أن يكون من النوع 'عدد64' لكن مُرّر 'نص'   3 | اطبع(ضعف("اثنان"))     |          ^

Exit code: 2

In the error catalog: E0179

هيكل غير معرَّف

Example
ن = نقطه(1, 2)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0125] سطر 1:5 - الدالة أو الهيكل 'نقطه' غير معرّف   1 | ن = نقطه(1, 2)     |     ^~~~  تلميح: عرّف الدالة بـ 'داله' قبل استدعائها (يجب أن يظهر تعريفها في الملف قبل أول استدعاء).

Exit code: 2

In the error catalog: E0125

متوقع شيء ووُجد غيره (نحوي)

Example
اطبع(1 2)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ نحوي E0035] سطر 1:8 - متوقع ')' لكن وُجد '2'   1 | اطبع(1 2)     |        ^  تلميح: هل نسيت إغلاق قوس استدعاء 'اطبع' أو الفاصلة ',' بين الوسائط؟

Exit code: 2

In the error catalog: E0035

عملية لا تدعمها الأنواع

Example
اطبع(صواب * 2)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0130] سطر 1:11 - العملية '*' غير مدعومة للأنواع 'منطقي' و 'عدد64'   1 | اطبع(صواب * 2)     |           ^  تلميح: القيم المنطقية لا تدخل في العمليات الحسابية.

Exit code: 2

In the error catalog: E0130

خطأ لم يُعالَج في المستوى الأعلى

Example
ن = جرّب حلل("ليس عدداً", عدد64)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0353] سطر 1:5 - خطأ لم يُعالَج: صيغة_خاطئة: «ليس عدداً» ليس عدداً  نشأ في: سطر 1  ن = جرّب حلل("ليس عدداً", عدد64)

Exit code: 3

In the error catalog: E0353

وضع بلا_افتراضي

Example
بلا_افتراضي
ق = [1, 2]
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0258] سطر 2:5 - قيمة حرفية تحجز من الافتراضي: الوحدة في وضع بلا_افتراضي (لا حجز من المخصص الافتراضي)   2 | ق = [1, 2]     |     ^  تلميح: اكتبها قائمة_من([...], م) بمخصص صريح، فتُبنى فيه مباشرة.

Exit code: 2

In the error catalog: E0258

مفتاح غائب (تشغيل)

Example
ق = {"ا": 1}
اطبع(ق["ب"])
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0337] سطر 2:7 - المفتاح 'ب' غير موجود في القاموس  اطبع(ق["ب"])

Exit code: 3

In the error catalog: E0337

وسيط مدمجة يجب أن يكون نصاً

Example
اطبع(حروف_كبيرة(5))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0177] سطر 1:17 - الوسيط رقم 1 لـ 'حروف_كبيرة' يجب أن يكون نصاً لكن وُجد النوع 'عدد64'   1 | اطبع(حروف_كبيرة(5))     |                 ^

Exit code: 2

In the error catalog: E0177

اسم خاص بوحدة

Example
استورد رياضيات
اطبع(رياضيات.جذر_c(4.0))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0080] مثال.م:2:14 - 'جذر_c' خاص بالوحدة 'رياضيات' (معرَّف فيها بـ 'خاص')   2 | اطبع(رياضيات.جذر_c(4.0))     |              ^~~~~

Exit code: 2

In the error catalog: E0080

حقل بلا نوع (صيغة مُزالة)

Example
هيكل نقطة:
س
ص عدد64
ن = نقطة(1, 2)
اطبع(ن.ص)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0391] سطر 2:5 - الحقل 'س' في الهيكل 'نقطة' بلا نوع   2 |     س     |     ^  تلميح: اكتب نوع الحقل، مثل: س عدد64 (أو شغّل --fix فيكتبها عنك)

Exit code: 2

In the error catalog: E0391

تعبير بلا عمل (خطأ)

Example
س = 1
س + 1
اطبع(س)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0274] سطر 2:3 - هذا التعبير لا يؤدي أي عمل كجملة مستقلة   2 | س + 1     |   ^  تلميح: استخدم اطبع(...) لعرض القيمة، أو أسندها إلى متغير.

Exit code: 2

In the error catalog: E0274

نوع غير مسموح في توقيع خارجي

Example
خارجي "c" داله طول_c(ن قائمة[عدد64]) عدد64 باسم "strlen"
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0155] سطر 1:24 - النوع 'قائمة[عدد64]' في المعامل 'ن' للدالة الخارجية 'طول_c': لا يُمرَّر إلى C   1 | خارجي "c" داله طول_c(ن قائمة[عدد64]) عدد64 باسم "strlen"     |                        ^~~~~~~~~~~~  تلميح: أنواع تواقيع الدوال الخارجية: منطقي، رمز، نص، نص؟، نص_مملوك، مؤشر_خام، نص_سي، فراغ، عدد8، عدد16، عدد32، عدد64، طبيعي8، طبيعي16، طبيعي32، طبيعي64، كسر32، كسر64، بايت، ومؤشر[نوع C] (هيكل_سي، عدد32...)

Exit code: 2

In the error catalog: E0155

تعريف يحجب اسماً مستورداً (خطأ)

Example
استورد رياضيات
داله جذر(س كسر64) كسر64:
ارجع س
اطبع(جذر(4.0))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
4.0
​[تحذير دلالي E0271] مثال.م:2:1 - تعريف الدالة 'جذر' هنا يحجب 'جذر' المستورد من 'رياضيات'   2 | داله جذر(س كسر64) كسر64:     | ^  تلميح: داخل هذا الملف 'جذر' هو تعريفك؛ المستورد يبقى متاحاً بالاسم المؤهَّل رياضيات.جذر

In the error catalog: E0271

حقل هيكل_سي بلا تخطيط C

Example
هيكل_سي نافذة:
عنوان نص
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0108] سطر 2:11 - الحقل 'عنوان' في هيكل_سي 'نافذة' من النوع 'نص': لا تخطيط له في C   2 |     عنوان نص     |           ^~  تلميح: حقول هيكل_سي أنواع C: عدد8..عدد32 وطبيعي8..طبيعي64 وعدد (int64_t) وكسر وكسر32، ومؤشر[...] ومؤشر_خام ونص_سي، ومصفوفة منها، وهيكل_سي آخر. النص والقائمة والقاموس والمنطقي لا تُوضع فيه.

Exit code: 2

In the error catalog: E0108

كسر خارج مدى العدد (تشغيل)

Example
استورد رياضيات
س = 1.0
لكل ع في مدى(0, 30):
س = س * 10000000000.0
اطبع(رياضيات.بتر(س))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0370] <stdlib>/رياضيات.م:86:19 - لا يمكن تحويل الكسر 9.999999999999998e+299 إلى عدد: خارج مدى الأعداد الصحيحة أو ليس عدداً      ارجع _بتر_كسر(س)  موضع الاستدعاء في برنامجك: مثال.م:5:14  اطبع(رياضيات.بتر(س))

Exit code: 3

In the error catalog: E0370

نص قيمته لاشيء (تشغيل)

Example
ن = "ا" + نص(1)
حرر(ن)
اطبع(طول(ن))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0369] سطر 3:10 - لا يمكن استخدام نص قيمته لاشيء هنا (هل حُرّر بـ حرر؟)  اطبع(طول(ن))

Exit code: 3

In the error catalog: E0369

تجاوز حدود 64 بت (تشغيل)

Example
س = 9223372036854775807
اطبع(س + 1)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0341] سطر 2:8 - تجاوز النوع 'عدد64' في العملية '+'  اطبع(س + 1)

Exit code: 3

In the error catalog: E0341

قيمة حقل من نوع آخر

Example
هيكل شخص:
اسم نص
عمر عدد64
ش = شخص("سارة", "ثلاثون")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0202] سطر 4:17 - قيمة الحقل 'عمر' من النوع 'نص' لكن الحقل في الهيكل 'شخص' من النوع 'عدد64'   4 | ش = شخص("سارة", "ثلاثون")     |                 ^

Exit code: 2

In the error catalog: E0202

حقل غير موجود

Example
هيكل نقطة:
س عدد64
ن = نقطة(1)
اطبع(ن.ع)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0162] سطر 4:8 - الهيكل 'نقطة' لا يملك حقلاً باسم 'ع'   4 | اطبع(ن.ع)     |        ^  تلميح: الحقول المتاحة: س

Exit code: 2

In the error catalog: E0162

نوع القيمة المرجعة

Example
داله نصف(س عدد64) عدد64:
ارجع "نصف"
اطبع(نصف(4))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0246] سطر 2:10 - نوع القيمة المرجعة 'نص' لا يطابق نوع الإرجاع المعلن 'عدد64' للدالة 'نصف'   2 |     ارجع "نصف"     |          ^  تلميح: النصوص لا تتحول إلى أعداد تلقائياً.

Exit code: 2

In the error catalog: E0246

قيمة لا تُطبع

Example
داله سجّل() فراغ:
س = 1
اطبع("الناتج: ", سجّل())
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0173] سطر 3:18 - الوسيط رقم 2 لـ 'اطبع' لا يمكن طباعته: الدالة 'سجّل' من نوع 'فراغ' ولا تُرجع قيمة   3 | اطبع("الناتج: ", سجّل())     |                  ^~~~  تلميح: استدعِها في سطر مستقل قبل هذا السطر، أو غيّر نوع إرجاعها إذا أردت طباعة نتيجتها.

Exit code: 2

In the error catalog: E0173

تعديل ثابت

Example
ثابت حد = 10
حد = 20
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0225] سطر 2:1 - لا يمكن تعديل قيمة الثابت 'حد'   2 | حد = 20     | ^~  تلميح: الثوابت لا تتغير بعد تعريفها؛ استخدم متغيراً عادياً إذا أردت تعديل القيمة.

Exit code: 2

In the error catalog: E0225

مخصص من نوع آخر

Example
م = جديد(1, 5)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0256] سطر 1:13 - الوسيط الثاني لـ 'جديد' مخصص (من النوع 'مخصص') لا 'عدد64'   1 | م = جديد(1, 5)     |             ^  تلميح: المخصصات: النظام، الافتراضي، ساحة(الاصل)، كاشف(الاصل)، مخزن_ثابت(شريحة).

Exit code: 2

In the error catalog: E0256

فك مؤشر قيمته لاشيء (تشغيل)

Example
م مؤشر[عدد64] = لاشيء
اطبع(محتوى(م))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0368] سطر 2:6 - فك مؤشر قيمته لاشيء (تحقق منه أولاً: المؤشر != لاشيء)  اطبع(محتوى(م))

Exit code: 3

In the error catalog: E0368

جملة غير بسيطة بعد خاتمه

Example
خاتمه اذا صواب:
اطبع(1)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ نحوي E0022] سطر 1:1 - بعد 'خاتمه' جملة بسيطة واحدة: استدعاء دالة أو إسناد   1 | خاتمه اذا صواب:     | ^~~~~  تلميح: الصيغة:  خاتمه حرر(م)   أو   خاتمه س = 0   أو   خاتمه ف() والا خ:  أو   خاتمه ف() والا _   أو   خاتمه جرّب ف()

Exit code: 2

In the error catalog: E0022

تعديل متغير عام في دالة

Example
عداد قائمة[عدد64] = [0]
س = 0
داله زد() فراغ:
س += 1
زد()
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0084] سطر 4:5 - 'س' متغير عام، ولا يمكن تعديله داخل الدالة 'زد' دون التصريح بذلك   4 |     س += 1     |     ^  تلميح: أضف السطر «عام س» في بداية الدالة لتعديل المتغير العام، أو اختر اسماً آخر إن أردت متغيراً محلياً.

Exit code: 2

In the error catalog: E0084

نوع غير معروف

Example
س عددي = 1
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0249] سطر 1:3 - نوع غير معروف 'عددي'   1 | س عددي = 1     |   ^~~~  تلميح: هل تقصد 'عدد8'؟

Exit code: 2

In the error catalog: E0249

صيغة نوع غير صحيحة

Example
ق قائمة[عدد64, نص] = []
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0195] سطر 1:3 - صيغة النوع 'قائمة[عدد64, نص]' غير صحيحة   1 | ق قائمة[عدد64, نص] = []     |   ^~~~~  تلميح: الصيغة: قائمة[نوع_العناصر]

Exit code: 2

In the error catalog: E0195

حقل إلزامي متروك

Example
هيكل نقطة:
س عدد64
ص عدد64
ن = نقطة(س = 1)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0110] سطر 4:5 - الحقل 'ص' من الهيكل 'نقطة' بلا قيمة افتراضية ويجب تمرير قيمته   4 | ن = نقطة(س = 1)     |     ^~~~  تلميح: مرّر قيمته بالترتيب أو بالاسم (نقطة(ص = ...))، أو أعطه قيمة افتراضية في التعريف: ص عدد64 = ...

Exit code: 2

In the error catalog: E0110

قيم مسمّاة لغير هيكل

Example
داله جمع(ا عدد64, ب عدد64) عدد64:
ارجع ا + ب
اطبع(جمع(ا = 1, ب = 2))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0135] سطر 3:10 - القيم المسمّاة (اسم = قيمة) لإنشاء الهياكل فقط، و 'جمع' ليس هيكلاً   3 | اطبع(جمع(ا = 1, ب = 2))     |          ^  تلميح: مرّر الوسائط بالترتيب، أو استخدم '==' إن قصدت المقارنة.

Exit code: 2

In the error catalog: E0135

نتيجة جديد مهملة (خطأ)

Example
جديد(5)
اطبع("تم")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0272] سطر 1:1 - نتيجة 'جديد' مهملة: الخانة لا يمكن الوصول إليها ولا تحريرها بعد هذا السطر   1 | جديد(5)     | ^~~~  تلميح: أسند المؤشر إلى متغير: م = جديد(...)

Exit code: 2

In the error catalog: E0272

عملية بتات على غير عدد64

Example
اطبع(1.5 & 1)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0198] سطر 1:10 - عملية البتات '&' على الأعداد الصحيحة فقط لكن وُجد النوع 'كسر64'   1 | اطبع(1.5 & 1)     |          ^  تلميح: عمليات البتات على الأعداد الصحيحة (بالمتمم الثنائي).

Exit code: 2

In the error catalog: E0198

مدمجة تحجز بلا مخصص في بلا_افتراضي

Example
بلا_افتراضي
ن = نص(5)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0258] سطر 2:5 - 'نص' بلا مخصص تحجز من الافتراضي (أو تحرر إليه): الوحدة في وضع بلا_افتراضي (لا حجز من المخصص الافتراضي)   2 | ن = نص(5)     |     ^~  تلميح: مرّر المخصص آخر الوسائط: نص(..., م).

Exit code: 2

In the error catalog: E0258

نسخ على غير حاوية

Example
اطبع(نسخ(5))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0063] سطر 1:10 - 'نسخ' تعمل مع القوائم والقواميس والهياكل والمصفوفات والنصوص لكن وُجد النوع 'عدد64'   1 | اطبع(نسخ(5))     |          ^  تلميح: القيم المفردة تُنسخ تلقائياً عند الإسناد.

Exit code: 2

In the error catalog: E0063

الوحدة لا تحوي الاسم

Example
استورد رياضيات
اطبع(رياضيات.جذرر(4.0))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0168] مثال.م:2:14 - الوحدة 'رياضيات' لا تحوي 'جذرر'   2 | اطبع(رياضيات.جذرر(4.0))     |              ^~~~  تلميح: هل تقصد 'جذر'؟

Exit code: 2

In the error catalog: E0168

العامل .. ملغى

Example
اطبع("ا" .. "ب")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ لفظي E0005] سطر 1:10 - العامل '..' أُلغي من اللغة: استخدم "+" بين نصين، أو الفاصلة داخل اطبع   1 | اطبع("ا" .. "ب")     |          ^~  تلميح: "العدد " + نص(5)   أو   اطبع("العدد ", 5)

Exit code: 2

In the error catalog: E0005

نص غير مغلق

Example
اطبع("مرحبا)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ لفظي E0007] سطر 1:6 - علامة تنصيص مزدوجة غير مغلقة   1 | اطبع("مرحبا)     |      ^~~~~~~  تلميح: أضف " في نهاية النص.

Exit code: 2

In the error catalog: E0007

تعبير غير مكتمل

Example
س = 1 +
اطبع(س)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ نحوي E0024] سطر 1:8 - تعبير غير مكتمل: متوقع قيمة لكن وُجد نهاية السطر   1 | س = 1 +     |        ^  تلميح: أكمل التعبير بقيمة أو متغير (مثلاً بعد '=' أو '+').

Exit code: 2

In the error catalog: E0024

وحدة في موضع قيمة

Example
استورد رياضيات
س = رياضيات
اطبع(س)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0090] مثال.م:2:5 - 'رياضيات' وحدة مستوردة وليست قيمة   2 | س = رياضيات     |     ^~~~~~~  تلميح: اكتب ما تريده منها بعد النقطة: رياضيات.اسم   أو   رياضيات.دالة(...)

Exit code: 2

In the error catalog: E0090

نوع بلا أنواع عناصر يأخذها

Example
س عدد64[نص] = 1
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0156] سطر 1:3 - النوع 'عدد64' لا يأخذ أنواع عناصر بين قوسين   1 | س عدد64[نص] = 1     |   ^~~~~  تلميح: الأقواس للحاويات والمؤشرات فقط: قائمة[عدد64]   قاموس[نص, عدد64]   مصفوفة[عدد64, 3]   مؤشر[عدد64]

Exit code: 2

In the error catalog: E0156

مقارنة غير مدعومة

Example
تعداد لون:
احمر
اخضر
اطبع(لون.احمر < لون.اخضر)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0146] سطر 4:15 - المقارنة '<' غير مدعومة للنوع 'لون'   4 | اطبع(لون.احمر < لون.اخضر)     |               ^  تلميح: أعلن 'يحقق قابل_للمقارنة' في تعريف النوع وعرّف  داله <(ا لون, ب لون) منطقي

Exit code: 2

In the error catalog: E0146

هيكل معرّف مرتين

Example
هيكل نقطة:
س عدد64
هيكل نقطة:
ص عدد64
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0165] سطر 3:1 - الهيكل 'نقطة' معرّف بالفعل (السطر 1)   3 | هيكل نقطة:     | ^  تلميح: أسماء الهياكل فريدة في البرنامج كله ولو عُرّفت داخل دوال مختلفة؛ اختر اسماً آخر.

Exit code: 2

In the error catalog: E0165

مقارنة نوعين مختلفين

Example
اطبع(1 == "1")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0229] سطر 1:8 - لا يمكن مقارنة أنواع مختلفة 'عدد64' و 'نص'   1 | اطبع(1 == "1")     |        ^~

Exit code: 2

In the error catalog: E0229

عناصر من أنواع مختلفة

Example
ق = [1, "اثنان", 3]
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0187] سطر 1:5 - جميع عناصر القائمة يجب أن تكون من نفس النوع (متوقع 'عدد64' ووجد 'نص')   1 | ق = [1, "اثنان", 3]     |     ^

Exit code: 2

In the error catalog: E0187

مصفوفة بحجم مخالف

Example
م مصفوفة[عدد64, 3] = [1, 2]
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0143] سطر 1:22 - المصفوفة مصرّح بأن حجمها 3 لكن في القيمة عنصران   1 | م مصفوفة[عدد64, 3] = [1, 2]     |                      ^  تلميح: عدد العناصر بين القوسين يجب أن يساوي الحجم المكتوب في النوع.

Exit code: 2

In the error catalog: E0143

متغير الحلقة بنوع آخر

Example
ع = "نص"
لكل ع في مدى(0, 3):
اطبع(ع)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0232] سطر 2:5 - متغير الحلقة 'ع' معرّف سابقاً بالنوع 'نص' ولا يمكن أن يأخذ عناصر من النوع 'عدد64'   2 | لكل ع في مدى(0, 3):     |     ^  تلميح: اختر اسماً آخر لمتغير الحلقة.

Exit code: 2

In the error catalog: E0232

هيكل يحوي نفسه

Example
هيكل عقدة:
قيمة عدد64
التالي عقدة
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0166] سطر 3:12 - الهيكل 'عقدة' يحوي نفسه بالقيمة في الحقل 'التالي' (حجمه يصير لا نهائياً)   3 |     التالي عقدة     |            ^~~~  تلميح: للإشارة إلى هيكل من النوع نفسه استخدم مؤشر[عقدة]، ولعدة عناصر منه قائمة[عقدة].

Exit code: 2

In the error catalog: E0166

دمج على غير قائمة نصوص

Example
اطبع(دمج([1, 2], ","))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0171] سطر 1:10 - الوسيط رقم 1 لـ 'دمج' يجب أن يكون قائمة نصوص لكن وُجد النوع 'قائمة[عدد64]'   1 | اطبع(دمج([1, 2], ","))     |          ^  تلميح: حوّل العناصر إلى نصوص أولاً بـ نص() وأضفها إلى قائمة نصوص.

Exit code: 2

In the error catalog: E0171

اضف على غير قائمة

Example
ن = "نص"
اضف(ن, "س")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0042] سطر 2:1 - 'اضف' تعمل مع القوائم فقط لكن 'ن' من النوع 'نص'   2 | اضف(ن, "س")     | ^

Exit code: 2

In the error catalog: E0042

خطوة مدى صفر

Example
لكل ع في مدى(0, 10, 0):
اطبع(ع)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0192] سطر 1:21 - خطوة 'مدى' لا يمكن أن تكون صفراً   1 | لكل ع في مدى(0, 10, 0):     |                     ^  تلميح: استخدم خطوة موجبة للعدّ تصاعدياً أو سالبة للعدّ تنازلياً.

Exit code: 2

In the error catalog: E0192

أمر في موضع قيمة

Example
س = اطبع("ا")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0068] سطر 1:5 - 'اطبع' أمر وليست دالة تُرجع قيمة   1 | س = اطبع("ا")     |     ^~~~  تلميح: استخدمها كجملة مستقلة فقط.

Exit code: 2

In the error catalog: E0068

529 messages, of which 75 have an example in the reference handbook that prints them.

لفظي

E0001 '\u…' نصف زوج بديل (surrogate) لا حرف

Exit code
2
Source in the compiler
lexer.py (unescape)
A reference program that prints it
—

E0002 الرمز '…' غير مدعوم

Exit code
2
Source in the compiler
lexer.py (tokenize)
A reference program that prints it
tests/programs/اخطاء/لفظي_رمز_غير_مدعوم.م

E0003 الرمز المفرد يجب أن يحتوي على حرف واحد فقط

Exit code
2
Source in the compiler
lexer.py (tokenize)
A reference program that prints it
—

E0004 الصيغة '\…' تتطلب … ست عشرية بعدها

Exit code
2
Source in the compiler
lexer.py (unescape)
A reference program that prints it
tests/programs/اخطاء/لفظي_صيغة_رقمية.م

E0005 العامل '..' أُلغي من اللغة: استخدم "+" بين نصين، أو الفاصلة داخل اطبع

Exit code
2
Source in the compiler
lexer.py (tokenize)
A reference program that prints it
tests/programs/اخطاء/نقطتان_ملغاة.م
A handbook example that prints it
Example
اطبع("ا" .. "ب")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ لفظي E0005] سطر 1:10 - العامل '..' أُلغي من اللغة: استخدم "+" بين نصين، أو الفاصلة داخل اطبع   1 | اطبع("ا" .. "ب")     |          ^~  تلميح: "العدد " + نص(5)   أو   اطبع("العدد ", 5)

Exit code: 2

In the error catalog: E0005

E0006 المسافة البادئة (…) لا تطابق أي مستوى سابق

Exit code
2
Source in the compiler
lexer.py (tokenize)
A reference program that prints it
tests/programs/اخطاء/لفظي_مسافة_بادئة.م
A handbook example that prints it
Example
اذا صواب:
اطبع(1)
اطبع(2)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ لفظي E0006] سطر 3:1 - المسافة البادئة (2) لا تطابق أي مستوى سابق   3 |   اطبع(2)     | ^~  تلميح: للعودة إلى كتلة سابقة استخدم نفس عدد مسافاتها تماماً (المستويات المفتوحة الآن: 4 أو 0).

Exit code: 2

In the error catalog: E0006

E0007 علامة تنصيص مزدوجة غير مغلقة

Exit code
2
Source in the compiler
lexer.py (tokenize)
A reference program that prints it
tests/programs/اخطاء/لفظي_نص_غير_مغلق.م
A handbook example that prints it
Example
اطبع("مرحبا)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ لفظي E0007] سطر 1:6 - علامة تنصيص مزدوجة غير مغلقة   1 | اطبع("مرحبا)     |      ^~~~~~~  تلميح: أضف " في نهاية النص.

Exit code: 2

In the error catalog: E0007

E0008 علامة تنصيص مفردة غير مغلقة

Exit code
2
Source in the compiler
lexer.py (tokenize)
A reference program that prints it
—

E0384 الملف … ليس بترميز UTF-8 (بايت غير صالح 0x… عند الموضع …)

Exit code
2
Source in the compiler
main.py (decode_source)
A reference program that prints it
tests/programs/امان/ترميز_غير_صالح.م

E0432 '...' (عدد وسائط متغير) غير مدعوم: لا دوال متغيرة الوسائط في ميم ولا في تصريح «خارجي»

Exit code
2
Source in the compiler
lexer.py (tokenize)
A reference program that prints it
tests/programs/اخطاء/لفظي_ثلاث_نقاط.م

E0434 القوس '…' فُتح في السطر … ولم يُغلق

Exit code
2
Source in the compiler
lexer.py (tokenize)
A reference program that prints it
tests/programs/اخطاء/قوس_لم_يغلق.م

E0475 الحرفية … '…' ناقصة أو فيها ما ليس من أرقامها

Exit code
2
Source in the compiler
lexer.py (tokenize)
A reference program that prints it
tests/programs/اخطاء/حرفية_سداسية_ناقصة.م

نحوي

E0009 'اخطاء:' بحاجة إلى اسم خطأ واحد على الأقل في سطر تالٍ

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0010 'والا' لا تتسلسل: عالج الخطأ مرة واحدة

Exit code
2
Source in the compiler
parser.py (parse_catch)
A reference program that prints it
—

E0011 اسم خطأ واحد في كل سطر

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0012 التعبير أعقد مما يدعمه المجمّع (أكثر من … مستوى من الأقواس أو العمليات المتتالية)

Exit code
2
Source in the compiler
parser.py (too_complex)
A reference program that prints it
tests/programs/امان/اقواس_اعمق_من_الحد.م

E0013 التعداد '…' بحاجة إلى عضو واحد على الأقل في سطر تالٍ

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0014 الدالة الخارجية تصريح بلا جسم: لا ':' بعدها

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
tests/programs/اخطاء/نحوي_خارجي.م

E0015 الدوال المتداخلة غير مدعومة: تعريف دالة داخل الدالة '…'

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
tests/programs/اخطاء/دالة_داخل_دالة.م

E0016 الطرف الأيسر من '=' لا يمكن الإسناد إليه

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0017 الطرف الأيسر من '…' لا يمكن التعديل عليه

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
tests/programs/اخطاء/نحوي_مدمجة.م

E0018 القيم المسمّاة (اسم = قيمة) لإنشاء الهياكل فقط، لا لاستدعاء مؤشر دالة

Exit code
2
Source in the compiler
parser.py (parse_primary)
A reference program that prints it
—

E0019 انتهى السطر بشكل مفاجئ: متوقع …

Exit code
2
Source in the compiler
parser.py (consume)
A reference program that prints it
tests/programs/اخطاء/نحوي_متعدد.م
Handbook examples that print it
Example
س = 3
اذا س > 2
اطبع(س)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ نحوي E0019] سطر 2:10 - انتهى السطر بشكل مفاجئ: متوقع ':'   2 | اذا س > 2     |          ^  تلميح: هل نسيت ':' في نهاية سطر الشرط؟

Exit code: 2

In the error catalog: E0019

Example
اذا صواب
اطبع(1)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ نحوي E0019] سطر 1:9 - انتهى السطر بشكل مفاجئ: متوقع ':'   1 | اذا صواب     |         ^  تلميح: هل نسيت ':' في نهاية سطر الشرط؟

Exit code: 2

In the error catalog: E0019

E0020 انتهى الملف قبل اكتمال التعبير: متوقع قيمة أو تعبير

Exit code
2
Source in the compiler
parser.py (parse_primary)
A reference program that prints it
—

E0021 انتهى الملف قبل اكتمال الجملة: متوقع …

Exit code
2
Source in the compiler
parser.py (consume)
A reference program that prints it
—

E0022 بعد 'خاتمه' جملة بسيطة واحدة: استدعاء دالة أو إسناد

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
tests/programs/اخطاء/خاتمه_اخطاء.م
A handbook example that prints it
Example
خاتمه اذا صواب:
اطبع(1)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ نحوي E0022] سطر 1:1 - بعد 'خاتمه' جملة بسيطة واحدة: استدعاء دالة أو إسناد   1 | خاتمه اذا صواب:     | ^~~~~  تلميح: الصيغة:  خاتمه حرر(م)   أو   خاتمه س = 0   أو   خاتمه ف() والا خ:  أو   خاتمه ف() والا _   أو   خاتمه جرّب ف()

Exit code: 2

In the error catalog: E0022

E0023 تداخل الكتل أعمق مما يدعمه المجمّع (أكثر من … مستوى)

Exit code
2
Source in the compiler
parser.py (parse_block)
A reference program that prints it
tests/programs/امان/كتل_اعمق_من_الحد.م

E0024 تعبير غير مكتمل: متوقع قيمة لكن وُجد …

Exit code
2
Source in the compiler
parser.py (parse_primary)
A reference program that prints it
tests/programs/اخطاء/نحوي_متعدد.م
A handbook example that prints it
Example
س = 1 +
اطبع(س)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ نحوي E0024] سطر 1:8 - تعبير غير مكتمل: متوقع قيمة لكن وُجد نهاية السطر   1 | س = 1 +     |        ^  تلميح: أكمل التعبير بقيمة أو متغير (مثلاً بعد '=' أو '+').

Exit code: 2

In the error catalog: E0024

E0025 تعريف حقل غير صالح داخل الهيكل

Exit code
2
Source in the compiler
parser.py (parse_struct_field)
A reference program that prints it
—

E0026 رمز غير صالح في هذا الموضع: …

Exit code
2
Source in the compiler
parser.py (parse_primary)
A reference program that prints it
—

E0027 رمز غير متوقع … بعد نهاية الجملة

Exit code
2
Source in the compiler
parser.py (parse_statement)
A reference program that prints it
—

E0028 عضو واحد في كل سطر: الاسم أو الاسم(حقل نوع) أو الاسم = قيمة

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0029 متوقع 'حاله' داخل كتلة 'حالات' لكن وُجد …

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0030 متوقع استدعاء أو إسناد بعد 'خاتمه'

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
tests/programs/اخطاء/خاتمه_اخطاء.م

E0031 متوقع اسم الدالة في C بين علامتي اقتباس بعد 'باسم'

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
tests/programs/اخطاء/نحوي_خارجي3.م

E0032 متوقع اسم وحدة أو مسار ملف بعد 'استورد'

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0033 متوقع تعبير بعد '…'

Exit code
2
Source in the compiler
parser.py (parse_unary)
A reference program that prints it
—

E0034 متوقع قيمة بديلة أو «اسم:» بعد 'والا'

Exit code
2
Source in the compiler
parser.py (parse_catch)
A reference program that prints it
—

E0035 متوقع … لكن وُجد …

Exit code
2
Source in the compiler
parser.py (consume)
A reference program that prints it
tests/programs/اخطاء/قوس_لا_يطابق.م
A handbook example that prints it
Example
اطبع(1 2)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ نحوي E0035] سطر 1:8 - متوقع ')' لكن وُجد '2'   1 | اطبع(1 2)     |        ^  تلميح: هل نسيت إغلاق قوس استدعاء 'اطبع' أو الفاصلة ',' بين الوسائط؟

Exit code: 2

In the error catalog: E0035

E0036 … بحاجة إلى جسم (كتلة) بعد النقطتين

Exit code
2
Source in the compiler
parser.py (_parse_block)
A reference program that prints it
—

E0385 البرنامج أعقد مما يدعمه المجمّع (تداخل عميق جداً في التعابير أو الكتل)

Exit code
2
Source in the compiler
main.py (too_deep_error)
A reference program that prints it
—

E0386 فاصلة زائدة في وسائط '…': لا توجد قيمة بعدها

Exit code
2
Source in the compiler
parser.py (extra_comma_error)
A reference program that prints it
tests/programs/اخطاء/نحوي_فاصلة_زائدة.م

E0387 فاصلة زائدة في وسائط '…': لا توجد قيمة قبلها

Exit code
2
Source in the compiler
parser.py (extra_comma_error)
A reference program that prints it
tests/programs/اخطاء/نحوي_فاصلة_زائدة.م

E0433 '…' كلمة محجوزة ولا تكون اسماً

Exit code
2
Source in the compiler
parser.py (check_name)
A reference program that prints it
tests/programs/اخطاء/كلمة_محجوزة_اسما.م

E0442 '؟' مرة واحدة: النوع الاختياري لا يكون اختيارياً مرة أخرى

Exit code
2
Source in the compiler
parser.py (parse_type)
A reference program that prints it
—

E0448 'بسبب' قبل 'مع': خطأ.اسم بسبب خ مع القيم

Exit code
2
Source in the compiler
parser.py (parse_error_context)
A reference program that prints it
tests/programs/اخطاء/سياق_اخطاء_ترتيب.م

E0474 '…' اسم دالة مدمجة ولا يكون اسم متغير أو معامل

Exit code
2
Source in the compiler
parser.py (binding)
A reference program that prints it
tests/programs/اخطاء/اسم_مدمجة_معاملا.م

E0479 الهيكل المبهم بلا حقول لا يكون معبّأ

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0483 قيمة عضو التعداد '…' عدد صحيح حرفي

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0484 الصف حقلان فأكثر

Exit code
2
Source in the compiler
parser.py (parse_tuple_type)
A reference program that prints it
tests/programs/اخطاء/صف_بحقل_واحد.م

E0485 الحقل '…' مكرر في الصف

Exit code
2
Source in the compiler
parser.py (parse_tuple_type)
A reference program that prints it
—

E0505 متوقع ',' أو ']' بعد اسم معامل النوع

Exit code
2
Source in the compiler
parser.py (parse_type_params)
A reference program that prints it
tests/programs/اخطاء/معمّمة_اخطاء.م

E0511 هيكل_سي '…' لا يكون معمَّماً

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
tests/programs/اخطاء/هيكل_سي_معمّم.م

E0515 الدالة الخارجية '…' لا تكون معمَّمة

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
tests/programs/اخطاء/خارجي_معمّم.م

E0525 السمة '…' لها معامل نوع واحد

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0526 السمة '…' بحاجة إلى توقيع دالة في سطر تالٍ

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0527 أسطر السمة تواقيع دوال بلا جسم

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0528 توقيع واحد في كل سطر، بلا ':' ولا جسم

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0529 السمة '…' بلا تواقيع

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

E0530 هيكل_سي '…' لا يحقق سمات

Exit code
2
Source in the compiler
parser.py (_parse_statement)
A reference program that prints it
—

دلالي

E0037 '+' على نصين غير ثابتين يحجز من الافتراضي

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
—

E0038 '+=' على نص يحجز من الافتراضي

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_AugAssignNode)
A reference program that prints it
—

E0039 'اخطاء:' في المستوى الأعلى من الملف فقط

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ErrorSetNode)
A reference program that prints it
—

E0040 'ارجع' لا يمكن استخدامها خارج دالة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ReturnNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_دوال_وهياكل.م

E0041 'اضف' تعمل مع القوائم فقط لكن وُجد النوع '…'

Exit code
2
Source in the compiler
builtin_funcs.py (emit)
A reference program that prints it
—

E0042 'اضف' تعمل مع القوائم فقط لكن … من النوع '…'

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
tests/programs/اخطاء/دلالي_مدمجة.م
A handbook example that prints it
Example
ن = "نص"
اضف(ن, "س")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0042] سطر 2:1 - 'اضف' تعمل مع القوائم فقط لكن 'ن' من النوع 'نص'   2 | اضف(ن, "س")     | ^

Exit code: 2

In the error catalog: E0042

E0043 'الافتراضي' مذكور

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_VarNode)
A reference program that prints it
—

E0044 'بلا_افتراضي' ترويسة تُكتب في أول الملف قبل أي جملة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_NoDefaultNode)
A reference program that prints it
tests/programs/اخطاء/بلا_افتراضي_اخطاء.م

E0045 'بلا_فحص' تسبق إسناداً إلى عنصر: بلا_فحص حاوية[فهرس] = قيمة

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_statement)
A reference program that prints it
—

E0046 'بلا_فحص' تسبق فهرسة أو تحويلاً إلى نوع ثابت الحجم: بلا_فحص حاوية[فهرس]، بلا_فحص عدد8(س)

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_UncheckedNode)
A reference program that prints it
tests/programs/اخطاء/طبقة_منخفضة_اخطاء.م

E0047 'تجاوز' لا يمكن استخدامها خارج حلقة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ContinueNode)
A reference program that prints it
—

E0048 'تعداد' في المستوى الأعلى من الملف فقط

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_EnumDefNode)
A reference program that prints it
—

E0049 'توقف' لا يمكن استخدامها خارج حلقة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BreakNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_متعدد.م

E0050 'جديد' بلا مخصص تحجز من الافتراضي

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_new)
A reference program that prints it
—

E0051 'جرّب' على تعبير لا يفشل (نوعه '…')

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_TryNode)
A reference program that prints it
tests/programs/اخطاء/اخطاء_سوء_استعمال.م

E0052 'جرّب' في الدالة '…' التي لا ترجع خطأ (نوعها '…')

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_TryNode)
A reference program that prints it
tests/programs/اخطاء/خاتمه_والا_اخطاء.م
A handbook example that prints it
Example
داله اقرأ_عدد(ن نص) عدد64:
ارجع جرّب حلل(ن, عدد64)
اطبع(اقرأ_عدد("5"))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0052] سطر 2:10 - 'جرّب' في الدالة 'اقرأ_عدد' التي لا ترجع خطأ (نوعها 'عدد64')   2 |     ارجع جرّب حلل(ن, عدد64)     |          ^~~~  تلميح: اجعل نوع إرجاعها '!عدد64' كي يمرّ الخطأ إلى مستدعيها، أو عالجه هنا بـ والا: التعبير والا قيمة_بديلة

Exit code: 2

In the error catalog: E0052

E0053 'خاتمه_عند_خطأ' في الدالة '…' التي لا ترجع خطأ

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_DeferNode)
A reference program that prints it
—

E0054 'رتب' على قائمة عناصرها '…' غير مدعومة

Exit code
2
Source in the compiler
collection_builtins.py (check)
A reference program that prints it
tests/programs/اخطاء/دوال_رئيسية_اخطاء.م

E0055 'شريحة' تأخذ مؤشراً إلى كتلة لكن وُجد '…'

Exit code
2
Source in the compiler
lowlevel.py (check)
A reference program that prints it
tests/programs/اخطاء/طبقة_منخفضة_اخطاء.م

E0056 'شريحة_خام' تأخذ مؤشر_خام لكن وُجد '…'

Exit code
2
Source in the compiler
lowlevel.py (check)
A reference program that prints it
—

E0057 'عام' تُستخدم داخل الدوال فقط

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_GlobalDeclNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_دفعة_ا.م

E0058 'قائمة_من' تأخذ قائمة لا '…'

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
tests/programs/اخطاء/حاويات_بمخصص_اخطاء.م

E0059 'قطعة' تأخذ شريحة لكن وُجد '…'

Exit code
2
Source in the compiler
lowlevel.py (check)
A reference program that prints it
tests/programs/اخطاء/طبقة_منخفضة_اخطاء.م

E0060 'مخزن_ثابت' يأخذ شريحة[بايت] لا '…'

Exit code
2
Source in the compiler
allocators.py (check)
A reference program that prints it
tests/programs/اخطاء/طبقة_منخفضة_اخطاء.م

E0061 'مدى' تُستخدم فقط في رأس حلقة 'لكل'

Exit code
2
Source in the compiler
builtin_funcs.py (emit)
A reference program that prints it
tests/programs/اخطاء/دلالي_مدمجة.م

E0062 'من_نص_سي' تأخذ نص_سي (مؤشر[طبيعي8]) لكن وُجد '…'

Exit code
2
Source in the compiler
lowlevel.py (check)
A reference program that prints it
tests/programs/اخطاء/نص_سي_اخطاء.م

E0063 'نسخ' تعمل مع القوائم والقواميس والهياكل والمصفوفات والنصوص لكن وُجد النوع '…'

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
tests/programs/اخطاء/حاويات_بمخصص_اخطاء.م
A handbook example that prints it
Example
اطبع(نسخ(5))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0063] سطر 1:10 - 'نسخ' تعمل مع القوائم والقواميس والهياكل والمصفوفات والنصوص لكن وُجد النوع 'عدد64'   1 | اطبع(نسخ(5))     |          ^  تلميح: القيم المفردة تُنسخ تلقائياً عند الإسناد.

Exit code: 2

In the error catalog: E0063

E0064 'نسخ' لا تعمل مع النوع '…'

Exit code
2
Source in the compiler
builtin_funcs.py (emit)
A reference program that prints it
—

E0065 'نص_سي' تأخذ نصاً لكن وُجد '…'

Exit code
2
Source in the compiler
lowlevel.py (check)
A reference program that prints it
tests/programs/اخطاء/نص_سي_اخطاء.م

E0066 'والا قيمة' على تعبير '!فراغ' لا ناتج له

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_CatchNode)
A reference program that prints it
—

E0067 'والا' بعد تعبير لا يفشل ولا يكون لاشيء (نوعه '…')

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_CatchNode)
A reference program that prints it
tests/programs/اخطاء/اخطاء_سوء_استعمال.م

E0068 '…' أمر وليست دالة تُرجع قيمة

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_value)
A reference program that prints it
tests/programs/اخطاء/دلالي_اطبع_وسائط.م
A handbook example that prints it
Example
س = اطبع("ا")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0068] سطر 1:5 - 'اطبع' أمر وليست دالة تُرجع قيمة   1 | س = اطبع("ا")     |     ^~~~  تلميح: استخدمها كجملة مستقلة فقط.

Exit code: 2

In the error catalog: E0068

E0069 '…' اسم دالة وليس متغيراً

Exit code
2
Source in the compiler
semantic_analyzer.py (undefined_name_error)
A reference program that prints it
—

E0070 '…' اسم هيكل وليس متغيراً

Exit code
2
Source in the compiler
semantic_analyzer.py (undefined_name_error)
A reference program that prints it
—

E0071 '…' اسم وحدة قياسية، وفي المشروع ملف بالاسم نفسه: …

Exit code
2
Source in the compiler
modules.py (locate)
A reference program that prints it
—

E0072 '…' بلا مخصص تحجز من الافتراضي (أو تحرر إليه)

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_builtin)
A reference program that prints it
—

E0073 '…' تأخذ … لكن وُجد النوع '…'

Exit code
2
Source in the compiler
collection_builtins.py (_check_container_search)
A reference program that prints it
tests/programs/اخطاء/دوال_رئيسية_اخطاء.م

E0074 '…' تتطلب مؤشراً لكن الوسيط من النوع '…'

Exit code
2
Source in the compiler
builtin_funcs.py (_require_pointer)
A reference program that prints it
tests/programs/اخطاء/دلالي_خارجي.م

E0075 '…' تحوّل عدداً لا '…'

Exit code
2
Source in the compiler
lowlevel.py (check)
A reference program that prints it
tests/programs/اخطاء/دلالي_مدمجة.م

E0076 '…' تعمل مع القوائم لكن وُجد النوع '…'

Exit code
2
Source in the compiler
collection_builtins.py (_require_list)
A reference program that prints it
tests/programs/اخطاء/دلالي_رتب_ب.م

E0077 '…' تعمل مع القواميس فقط لكن وُجد النوع '…'

Exit code
2
Source in the compiler
builtin_funcs.py (_check_dict_and_key)
A reference program that prints it
tests/programs/اخطاء/دلالي_مدمجة.م

E0078 '…' تعمل مع القواميس لكن وُجد النوع '…'

Exit code
2
Source in the compiler
collection_builtins.py (check)
A reference program that prints it
tests/programs/اخطاء/دوال_رئيسية_اخطاء.م

E0079 '…' تُستخدم فقط في رأس حلقة 'لكل'

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_builtin)
A reference program that prints it
—

E0080 '…' خاص بالوحدة '…' (معرَّف فيها بـ 'خاص')

Exit code
2
Source in the compiler
modules.py (qualified)
A reference program that prints it
tests/programs/اخطاء/دلالي_رياضيات.م
A handbook example that prints it
Example
استورد رياضيات
اطبع(رياضيات.جذر_c(4.0))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0080] مثال.م:2:14 - 'جذر_c' خاص بالوحدة 'رياضيات' (معرَّف فيها بـ 'خاص')   2 | اطبع(رياضيات.جذر_c(4.0))     |              ^~~~~

Exit code: 2

In the error catalog: E0080

E0081 '…' على قائمة عناصرها '…' غير مدعومة

Exit code
2
Source in the compiler
collection_builtins.py (_check_container_search)
A reference program that prints it
tests/programs/اخطاء/دوال_رئيسية_اخطاء.م

E0082 '…' ليست وحدة مستوردة في هذا الملف

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_CallExprNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_استدعاء_تعبير.م

E0083 '…' متغير خاص بالوحدة '…'

Exit code
2
Source in the compiler
modules.py (qualified)
A reference program that prints it
tests/programs/متعدد/11b_خاص_خطأ.م

E0084 '…' متغير عام، ولا يمكن تعديله داخل الدالة '…' دون التصريح بذلك

Exit code
2
Source in the compiler
semantic_analyzer.py (global_write_error)
A reference program that prints it
tests/programs/اخطاء/دلالي_دفعة_ا.م
A handbook example that prints it
Example
عداد قائمة[عدد64] = [0]
س = 0
داله زد() فراغ:
س += 1
زد()
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0084] سطر 4:5 - 'س' متغير عام، ولا يمكن تعديله داخل الدالة 'زد' دون التصريح بذلك   4 |     س += 1     |     ^  تلميح: أضف السطر «عام س» في بداية الدالة لتعديل المتغير العام، أو اختر اسماً آخر إن أردت متغيراً محلياً.

Exit code: 2

In the error catalog: E0084

E0085 '…' متغير من النوع '…': لا يحمل الخطأ

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_CatchNode)
A reference program that prints it
—

E0086 '…' متغير وليس دالة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_FuncCallNode)
A reference program that prints it
—

E0087 '…' معرّف محلياً في الدالة قبل التصريح بأنه عام

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_GlobalDeclNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_دفعة_ا.م

E0088 '…' من النوع '…' وليس دالة تُستدعى

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_CallExprNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_استدعاء_تعبير.م

E0089 '…' من النوع '…' … لكن …

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_indirect_call)
A reference program that prints it
tests/programs/اخطاء/دلالي_استدعاء_تعبير.م

E0090 '…' وحدة مستوردة وليست قيمة

Exit code
2
Source in the compiler
semantic_analyzer.py (undefined_name_error)
A reference program that prints it
tests/programs/متعدد/18c_وحدة_كقيمة.م
A handbook example that prints it
Example
استورد رياضيات
س = رياضيات
اطبع(س)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0090] مثال.م:2:5 - 'رياضيات' وحدة مستوردة وليست قيمة   2 | س = رياضيات     |     ^~~~~~~  تلميح: اكتب ما تريده منها بعد النقطة: رياضيات.اسم   أو   رياضيات.دالة(...)

Exit code: 2

In the error catalog: E0090

E0091 '…' … لكن …

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_builtin)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0092 '…(...)' تأخذ رقم العضو وحده

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_FuncCallNode)
A reference program that prints it
—

E0093 '…(...)' تأخذ عدداً (رقم العضو من 0) لا '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_FuncCallNode)
A reference program that prints it
tests/programs/اخطاء/تعداد_اخطاء.م

E0094 '….…' ثابت وليس دالة

Exit code
2
Source in the compiler
modules.py (qualified)
A reference program that prints it
—

E0095 '….…' دالة أو هيكل وليس ثابتاً

Exit code
2
Source in the compiler
modules.py (qualified)
A reference program that prints it
tests/programs/متعدد/18b_اخطاء_الاسم_المؤهل.م

E0096 اسم المعامل '…' مكرر في الدالة '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_FuncDefNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_خارجي.م

E0097 الاسم '…' مستخدم لهيكل بالفعل

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_FuncDefNode)
A reference program that prints it
—

E0098 الاسم '…' مستعمل لوحدتين مستوردتين في هذا الملف

Exit code
2
Source in the compiler
modules.py (load_module)
A reference program that prints it
tests/programs/متعدد/18_اخطاء_استيراد.م

E0099 الاسم '…' معرَّف بالفعل

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ExternFuncNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_خارجي.م

E0100 الاسم '…' معرَّف في أكثر من ملف مستورد: …

Exit code
2
Source in the compiler
semantic_analyzer.py (imported_constant)
A reference program that prints it
tests/programs/متعدد/12b_هياكل_خطأ.م

E0101 الاسم '…' معرَّف هيكلاً بالفعل

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_EnumDefNode)
A reference program that prints it
—

E0102 التعداد '…' لا عضو فيه باسم '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_generic_enum_ctor)
A reference program that prints it
tests/programs/اخطاء/تعداد_اخطاء.م

E0103 التعداد '…' معرَّف بالفعل (السطر …)

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_EnumDefNode)
A reference program that prints it
—

E0104 التعداد '…' معرَّف في أكثر من ملف مستورد: …

Exit code
2
Source in the compiler
modules.py (enum_name)
A reference program that prints it
tests/programs/متعدد/25b_تعداد_مستورد_خطأ.م

E0105 الثابت '…' غير معرَّف في وحدته

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_VarNode)
A reference program that prints it
—

E0106 الحقل '…' بلا قيمة افتراضية ويأتي بعد الحقل '…' الذي له قيمة افتراضية

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_StructDefNode)
A reference program that prints it
tests/programs/اخطاء/حقل_الزامي_بعد_افتراضي.م

E0107 الحقل '…' في هيكل_سي '…' بلا نوع

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_StructDefNode)
A reference program that prints it
tests/programs/اخطاء/هيكل_سي_اخطاء.م

E0108 الحقل '…' في هيكل_سي '…' من النوع '…': لا تخطيط له في C

Exit code
2
Source in the compiler
semantic_analyzer.py (check_c_field)
A reference program that prints it
tests/programs/اخطاء/هيكل_سي_اخطاء.م
A handbook example that prints it
Example
هيكل_سي نافذة:
عنوان نص
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0108] سطر 2:11 - الحقل 'عنوان' في هيكل_سي 'نافذة' من النوع 'نص': لا تخطيط له في C   2 |     عنوان نص     |           ^~  تلميح: حقول هيكل_سي أنواع C: عدد8..عدد32 وطبيعي8..طبيعي64 وعدد (int64_t) وكسر وكسر32، ومؤشر[...] ومؤشر_خام ونص_سي، ومصفوفة منها، وهيكل_سي آخر. النص والقائمة والقاموس والمنطقي لا تُوضع فيه.

Exit code: 2

In the error catalog: E0108

E0109 الحقل '…' مكرر في الهيكل '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_StructDefNode)
A reference program that prints it
—

E0110 الحقل '…' من الهيكل '…' بلا قيمة افتراضية ويجب تمرير قيمته

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_struct_init)
A reference program that prints it
tests/programs/اخطاء/حقل_الزامي_متروك.م
A handbook example that prints it
Example
هيكل نقطة:
س عدد64
ص عدد64
ن = نقطة(س = 1)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0110] سطر 4:5 - الحقل 'ص' من الهيكل 'نقطة' بلا قيمة افتراضية ويجب تمرير قيمته   4 | ن = نقطة(س = 1)     |     ^~~~  تلميح: مرّر قيمته بالترتيب أو بالاسم (نقطة(ص = ...))، أو أعطه قيمة افتراضية في التعريف: ص عدد64 = ...

Exit code: 2

In the error catalog: E0110

E0111 الخطأ '…' غير معرَّف

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ErrorValueNode)
A reference program that prints it
tests/programs/اخطاء/اخطاء_سوء_استعمال.م

E0112 الخطأ '…' مكرر في 'اخطاء:'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ErrorSetNode)
A reference program that prints it
tests/programs/اخطاء/اخطاء_سوء_استعمال.م

E0113 الخطأ '…' من المجموعة القياسية: لا يُعرَّف

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ErrorSetNode)
A reference program that prints it
tests/programs/اخطاء/اخطاء_سوء_استعمال.م

E0114 الدالة '…' ترجع '!فراغ': ارجع وحدها أو ارجع خطأ.اسم

Exit code
2
Source in the compiler
semantic_analyzer.py (fallible_return)
A reference program that prints it
—

E0115 الدالة '…' ترجع '!…': ارجع قيمة أو خطأ

Exit code
2
Source in the compiler
semantic_analyzer.py (fallible_return)
A reference program that prints it
—

E0117 الدالة '…' تُرجع '…' في موضع و '…' في موضع آخر

Exit code
2
Source in the compiler
semantic_analyzer.py (check_container_return)
A reference program that prints it
tests/programs/اخطاء/دلالي_دفعة_ا.م

E0118 الدالة '…' غير معرفة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_FuncCallNode)
A reference program that prints it
—

E0119 الدالة '…' لا تُؤخذ قيمة: أنواع معاملاتها أو إرجاعها غير محددة بالكامل

Exit code
2
Source in the compiler
semantic_analyzer.py (function_value)
A reference program that prints it
tests/programs/اخطاء/دالة_عامة_قيمة.م

E0120 الدالة '…' معلنة بنوع الإرجاع '…' لكنها لا تُرجع أي قيمة

Exit code
2
Source in the compiler
semantic_analyzer.py (instantiate)
A reference program that prints it
tests/programs/اخطاء/دلالي_دفعة_ا.م

E0121 الدالة '…' من نوع 'فراغ' ولا تُرجع قيمة يمكن استخدامها

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_value)
A reference program that prints it
—

E0122 الدالة '…' من نوع 'فراغ' ولا يمكنها إرجاع قيمة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ReturnNode)
A reference program that prints it
—

E0123 الدالة '…' يجب أن تُرجع قيمة من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ReturnNode)
A reference program that prints it
—

E0124 الدالة '…' … لكن …

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_extern_call)
A reference program that prints it
tests/programs/اخطاء/دلالي_خارجي.م

E0125 الدالة أو الهيكل '…' غير معرّف

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_FuncCallNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_دوال_وهياكل.م
Handbook examples that print it
Example
ن = نقطه(1, 2)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0125] سطر 1:5 - الدالة أو الهيكل 'نقطه' غير معرّف   1 | ن = نقطه(1, 2)     |     ^~~~  تلميح: عرّف الدالة بـ 'داله' قبل استدعائها (يجب أن يظهر تعريفها في الملف قبل أول استدعاء).

Exit code: 2

In the error catalog: E0125

Example
اطبع(ضعف(2))
داله ضعف(س عدد64) عدد64:
ارجع س * 2
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0125] سطر 1:6 - الدالة أو الهيكل 'ضعف' غير معرّف   1 | اطبع(ضعف(2))     |      ^~~  تلميح: هل تقصد 'اضف'؟

Exit code: 2

In the error catalog: E0125

Example
اطبع(ضعف(2))
داله ضعف(س عدد64) عدد64:
ارجع س * 2
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0125] سطر 1:6 - الدالة أو الهيكل 'ضعف' غير معرّف   1 | اطبع(ضعف(2))     |      ^~~  تلميح: هل تقصد 'اضف'؟

Exit code: 2

In the error catalog: E0125

E0126 الدالة الخارجية '…' لا تُؤخذ قيمة

Exit code
2
Source in the compiler
semantic_analyzer.py (function_value)
A reference program that prints it
tests/programs/اخطاء/مؤشر_داله_اخطاء.م

E0127 الطرف الأيسر من '…' لا يمكن الإسناد إليه: نتيجة استدعاء '…' ليست موضعاً

Exit code
2
Source in the compiler
semantic_analyzer.py (require_deref_target)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0128 العدد كبير جداً

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_NumberNode)
A reference program that prints it
—

E0129 العضو '…' مكرر في التعداد '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_EnumDefNode)
A reference program that prints it
tests/programs/اخطاء/تعداد_اخطاء.م

E0130 العملية '…' غير مدعومة للأنواع '…' و '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_خارجي.م
A handbook example that prints it
Example
اطبع(صواب * 2)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0130] سطر 1:11 - العملية '*' غير مدعومة للأنواع 'منطقي' و 'عدد64'   1 | اطبع(صواب * 2)     |           ^  تلميح: القيم المنطقية لا تدخل في العمليات الحسابية.

Exit code: 2

In the error catalog: E0130

E0131 الفرع الافتراضي 'حاله _' مكرر

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_SwitchNode)
A reference program that prints it
—

E0132 الفهرس يجب أن يكون عدداً صحيحاً لكن وُجد '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (index_low_level)
A reference program that prints it
—

E0133 الفهرس … خارج حدود المصفوفة (الحجم …)

Exit code
2
Source in the compiler
semantic_analyzer.py (_check_array_bounds)
A reference program that prints it
—

E0134 القسمة على صفر

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_دفعة_ا.م

E0135 القيم المسمّاة (اسم = قيمة) لإنشاء الهياكل فقط، و '…' ليس هيكلاً

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_FuncCallNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_خارجي.م
A handbook example that prints it
Example
داله جمع(ا عدد64, ب عدد64) عدد64:
ارجع ا + ب
اطبع(جمع(ا = 1, ب = 2))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0135] سطر 3:10 - القيم المسمّاة (اسم = قيمة) لإنشاء الهياكل فقط، و 'جمع' ليس هيكلاً   3 | اطبع(جمع(ا = 1, ب = 2))     |          ^  تلميح: مرّر الوسائط بالترتيب، أو استخدم '==' إن قصدت المقارنة.

Exit code: 2

In the error catalog: E0135

E0136 القيمة من النوع '…' والقائمة عناصرها '…'

Exit code
2
Source in the compiler
collection_builtins.py (_check_container_search)
A reference program that prints it
—

E0137 المؤشر من النوع '…' لا يملك حقولاً

Exit code
2
Source in the compiler
semantic_analyzer.py (_struct_field)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0138 المتغير '…' غير معرف في هذا النطاق

Exit code
2
Source in the compiler
semantic_analyzer.py (undefined_name_error)
A reference program that prints it
tests/programs/اخطاء/دلالي_اطبع_وسائط.م
A handbook example that prints it
Example
عداد = 1
اطبع(عدد_)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0138] سطر 2:6 - المتغير 'عدد_' غير معرف في هذا النطاق   2 | اطبع(عدد_)     |      ^~~~  تلميح: هل تقصد 'عداد'؟

Exit code: 2

In the error catalog: E0138

E0139 المتغير '…' غير معرّف: الإسناد في 'خاتمه' لا يعرّف متغيراً جديداً

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_DeferNode)
A reference program that prints it
tests/programs/اخطاء/خاتمه_متغير_جديد.م

E0140 المتغير '…' معرّف سابقاً بنوع '…' ولا يمكن إعادة تعريفه بنوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_AssignNode)
A reference program that prints it
—

E0141 المتغير أو الثابت '…' معرف بالفعل في هذا النطاق

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ConstAssignNode)
A reference program that prints it
—

E0142 المصفوفات تتطلب عنصراً واحداً على الأقل

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ArrayNode)
A reference program that prints it
—

E0143 المصفوفة مصرّح بأن حجمها … لكن في القيمة …

Exit code
2
Source in the compiler
semantic_analyzer.py (list_literal)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م
A handbook example that prints it
Example
م مصفوفة[عدد64, 3] = [1, 2]
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0143] سطر 1:22 - المصفوفة مصرّح بأن حجمها 3 لكن في القيمة عنصران   1 | م مصفوفة[عدد64, 3] = [1, 2]     |                      ^  تلميح: عدد العناصر بين القوسين يجب أن يساوي الحجم المكتوب في النوع.

Exit code: 2

In the error catalog: E0143

E0144 المعامل '…' في الدالة الخارجية '…' دالة تستدعيها C: مرّر اسم دالة معرَّفة مباشرة

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_extern_call)
A reference program that prints it
tests/programs/اخطاء/مؤشر_داله_اخطاء.م

E0145 المعامل المنطقي '…' يتطلب قيماً منطقية لكن وُجد النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
—

E0146 المقارنة '…' غير مدعومة للنوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
tests/programs/اخطاء/تعداد_اخطاء.م
A handbook example that prints it
Example
تعداد لون:
احمر
اخضر
اطبع(لون.احمر < لون.اخضر)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0146] سطر 4:15 - المقارنة '<' غير مدعومة للنوع 'لون'   4 | اطبع(لون.احمر < لون.اخضر)     |               ^  تلميح: أعلن 'يحقق قابل_للمقارنة' في تعريف النوع وعرّف  داله <(ا لون, ب لون) منطقي

Exit code: 2

In the error catalog: E0146

E0147 المقارنة المباشرة للقوائم والمصفوفات والقواميس والهياكل غير مدعومة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
—
A handbook example that prints it
Example
اطبع([1, 2] == [1, 2])
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0147] سطر 1:13 - المقارنة المباشرة للقوائم والمصفوفات والقواميس والهياكل غير مدعومة   1 | اطبع([1, 2] == [1, 2])     |             ^~  تلميح: قارن العناصر واحداً واحداً (مثل م[0] == ن[0])، أو أعلن 'يحقق قابل_للمساواة' في تعريف الهيكل فيُشتق '=='.

Exit code: 2

In the error catalog: E0147

E0148 الملف المستورد '…' ليس بترميز UTF-8

Exit code
2
Source in the compiler
modules.py (resolve_import)
A reference program that prints it
—

E0149 الملف المستورد غير موجود: …

Exit code
2
Source in the compiler
modules.py (locate)
A reference program that prints it
tests/programs/متعدد/18_اخطاء_استيراد.م

E0150 الموضع في '…' عدد صحيح لا '…'

Exit code
2
Source in the compiler
collection_builtins.py (_require_index)
A reference program that prints it
tests/programs/اخطاء/دوال_رئيسية_اخطاء.م

E0151 النوع 'شريحة' يتطلب نوع عناصرها

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_declared)
A reference program that prints it
—

E0152 النوع 'مؤشر' يتطلب نوع ما يشير إليه

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_declared)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0153 النوع '…' غير محدد بالكامل أو لا يصلح هنا

Exit code
2
Source in the compiler
semantic_analyzer.py (type_argument)
A reference program that prints it
—

E0154 النوع '…' في دالة تُمرَّر إلى C غير مدعوم

Exit code
2
Source in the compiler
semantic_analyzer.py (c_type)
A reference program that prints it
tests/programs/اخطاء/مؤشر_داله_اخطاء.م

E0155 النوع '…' في … للدالة الخارجية '…': …

Exit code
2
Source in the compiler
semantic_analyzer.py (c_type)
A reference program that prints it
tests/programs/اخطاء/دلالي_خارجي.م
A handbook example that prints it
Example
خارجي "c" داله طول_c(ن قائمة[عدد64]) عدد64 باسم "strlen"
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0155] سطر 1:24 - النوع 'قائمة[عدد64]' في المعامل 'ن' للدالة الخارجية 'طول_c': لا يُمرَّر إلى C   1 | خارجي "c" داله طول_c(ن قائمة[عدد64]) عدد64 باسم "strlen"     |                        ^~~~~~~~~~~~  تلميح: أنواع تواقيع الدوال الخارجية: منطقي، رمز، نص، نص؟، نص_مملوك، مؤشر_خام، نص_سي، فراغ، عدد8، عدد16، عدد32، عدد64، طبيعي8، طبيعي16، طبيعي32، طبيعي64، كسر32، كسر64، بايت، ومؤشر[نوع C] (هيكل_سي، عدد32...)

Exit code: 2

In the error catalog: E0155

E0156 النوع '…' لا يأخذ أنواع عناصر بين قوسين

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_container_type)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م
A handbook example that prints it
Example
س عدد64[نص] = 1
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0156] سطر 1:3 - النوع 'عدد64' لا يأخذ أنواع عناصر بين قوسين   1 | س عدد64[نص] = 1     |   ^~~~~  تلميح: الأقواس للحاويات والمؤشرات فقط: قائمة[عدد64]   قاموس[نص, عدد64]   مصفوفة[عدد64, 3]   مؤشر[عدد64]

Exit code: 2

In the error catalog: E0156

E0157 النوع '…' لا يدعم الفهرسة

Exit code
2
Source in the compiler
semantic_analyzer.py (_index_container_error)
A reference program that prints it
tests/programs/اخطاء/دلالي_نصوص_ونسخ.م

E0158 النوع '…' لا يملك حقولاً

Exit code
2
Source in the compiler
semantic_analyzer.py (_struct_field)
A reference program that prints it
tests/programs/اخطاء/دلالي_هل_تقصد.م

E0159 النوع '…' نوع إرجاع دالة فقط

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_declared)
A reference program that prints it
tests/programs/اخطاء/اخطاء_سوء_استعمال.م

E0161 الهيكل '…' غير معرّف

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_StructInitNode)
A reference program that prints it
—

E0162 الهيكل '…' لا يملك حقلاً باسم '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (_struct_field)
A reference program that prints it
tests/programs/اخطاء/دلالي_دوال_وهياكل.م
A handbook example that prints it
Example
هيكل نقطة:
س عدد64
ن = نقطة(1)
اطبع(ن.ع)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0162] سطر 4:8 - الهيكل 'نقطة' لا يملك حقلاً باسم 'ع'   4 | اطبع(ن.ع)     |        ^  تلميح: الحقول المتاحة: س

Exit code: 2

In the error catalog: E0162

E0163 الهيكل '…' معرَّف بعد '…' ولا يُحتوى بالقيمة قبل تعريفه

Exit code
2
Source in the compiler
semantic_analyzer.py (check_field_references)
A reference program that prints it
tests/programs/اخطاء/دلالي_هياكل_اسمية.م

E0164 الهيكل '…' معرَّف في أكثر من ملف مستورد: …

Exit code
2
Source in the compiler
modules.py (type_name)
A reference program that prints it
tests/programs/متعدد/12b_هياكل_خطأ.م

E0165 الهيكل '…' معرّف بالفعل (السطر …)

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_StructDefNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_هياكل_اسمية.م
A handbook example that prints it
Example
هيكل نقطة:
س عدد64
هيكل نقطة:
ص عدد64
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0165] سطر 3:1 - الهيكل 'نقطة' معرّف بالفعل (السطر 1)   3 | هيكل نقطة:     | ^  تلميح: أسماء الهياكل فريدة في البرنامج كله ولو عُرّفت داخل دوال مختلفة؛ اختر اسماً آخر.

Exit code: 2

In the error catalog: E0165

E0166 الهيكل '…' يحوي نفسه بالقيمة في الحقل '…' (حجمه يصير لا نهائياً)

Exit code
2
Source in the compiler
semantic_analyzer.py (check_field_references)
A reference program that prints it
tests/programs/اخطاء/دلالي_هياكل_اسمية.م
A handbook example that prints it
Example
هيكل عقدة:
قيمة عدد64
التالي عقدة
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0166] سطر 3:12 - الهيكل 'عقدة' يحوي نفسه بالقيمة في الحقل 'التالي' (حجمه يصير لا نهائياً)   3 |     التالي عقدة     |            ^~~~  تلميح: للإشارة إلى هيكل من النوع نفسه استخدم مؤشر[عقدة]، ولعدة عناصر منه قائمة[عقدة].

Exit code: 2

In the error catalog: E0166

E0167 الوحدة '…' غير موجودة

Exit code
2
Source in the compiler
modules.py (locate)
A reference program that prints it
tests/programs/متعدد/18_اخطاء_استيراد.م
A handbook example that prints it
Example
استورد وحدة_لا_وجود_لها
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0167] سطر 1:1 - الوحدة 'وحدة_لا_وجود_لها' غير موجودة   1 | استورد وحدة_لا_وجود_لها     | ^~~~~~  ملاحظة: بُحث عنها في: المكتبة القياسية، وحدة_لا_وجود_لها.م، مكتبات/وحدة_لا_وجود_لها.م  تلميح: تأكد من اسم الملف ومن وجوده بجوار هذا الملف.

Exit code: 2

In the error catalog: E0167

E0168 الوحدة '…' لا تحوي '…'

Exit code
2
Source in the compiler
modules.py (qualified)
A reference program that prints it
tests/programs/اخطاء/دلالي_رياضيات.م
A handbook example that prints it
Example
استورد رياضيات
اطبع(رياضيات.جذرر(4.0))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0168] مثال.م:2:14 - الوحدة 'رياضيات' لا تحوي 'جذرر'   2 | اطبع(رياضيات.جذرر(4.0))     |              ^~~~  تلميح: هل تقصد 'جذر'؟

Exit code: 2

In the error catalog: E0168

E0169 الوحدة '…' لا تحوي هيكلاً باسم '…'

Exit code
2
Source in the compiler
modules.py (type_expr)
A reference program that prints it
tests/programs/متعدد/12b_هياكل_خطأ.م

E0170 الوحدة '…' ممنوعة بالخيار --no-system

Exit code
2
Source in the compiler
semantic_analyzer.py (check_system_imports)
A reference program that prints it
—

E0171 الوسيط رقم 1 لـ 'دمج' يجب أن يكون قائمة نصوص لكن وُجد النوع '…'

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
tests/programs/اخطاء/دلالي_نصوص_ونسخ.م
A handbook example that prints it
Example
اطبع(دمج([1, 2], ","))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0171] سطر 1:10 - الوسيط رقم 1 لـ 'دمج' يجب أن يكون قائمة نصوص لكن وُجد النوع 'قائمة[عدد64]'   1 | اطبع(دمج([1, 2], ","))     |          ^  تلميح: حوّل العناصر إلى نصوص أولاً بـ نص() وأضفها إلى قائمة نصوص.

Exit code: 2

In the error catalog: E0171

E0172 الوسيط رقم … لـ 'دمج_نصوص' من النوع '…' ولا يُدمج في نص

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
tests/programs/اخطاء/نصوص_بمخصص_اخطاء.م

E0173 الوسيط رقم … لـ '…' لا يمكن طباعته: …

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_joined_arg)
A reference program that prints it
tests/programs/اخطاء/دلالي_اطبع_وسائط.م
A handbook example that prints it
Example
داله سجّل() فراغ:
س = 1
اطبع("الناتج: ", سجّل())
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0173] سطر 3:18 - الوسيط رقم 2 لـ 'اطبع' لا يمكن طباعته: الدالة 'سجّل' من نوع 'فراغ' ولا تُرجع قيمة   3 | اطبع("الناتج: ", سجّل())     |                  ^~~~  تلميح: استدعِها في سطر مستقل قبل هذا السطر، أو غيّر نوع إرجاعها إذا أردت طباعة نتيجتها.

Exit code: 2

In the error catalog: E0173

E0174 الوسيط رقم … لـ '…' من النوع '…' ولا يمكن وضعه في رسالة

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
tests/programs/اخطاء/دلالي_اطبع_وسائط.م

E0175 الوسيط رقم … لـ '…' يجب أن يكون '…' لا '…'

Exit code
2
Source in the compiler
std_intrinsics.py (_expect)
A reference program that prints it
—

E0176 الوسيط رقم … لـ '…' يجب أن يكون من النوع '…' لكن مُرّر '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_indirect_call)
A reference program that prints it
tests/programs/اخطاء/دلالي_استدعاء_تعبير.م

E0177 الوسيط رقم … لـ '…' يجب أن يكون نصاً لكن وُجد النوع '…'

Exit code
2
Source in the compiler
collection_builtins.py (_require_text)
A reference program that prints it
tests/programs/اخطاء/دلالي_نصوص_ونسخ.م
A handbook example that prints it
Example
اطبع(حروف_كبيرة(5))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0177] سطر 1:17 - الوسيط رقم 1 لـ 'حروف_كبيرة' يجب أن يكون نصاً لكن وُجد النوع 'عدد64'   1 | اطبع(حروف_كبيرة(5))     |                 ^

Exit code: 2

In the error catalog: E0177

E0178 الوسيط رقم … لـ '…' يجب أن يكون … لكن وُجد النوع '…'

Exit code
2
Source in the compiler
builtin_funcs.py (_require)
A reference program that prints it
tests/programs/اخطاء/دلالي_نصوص_ونسخ.م

E0179 الوسيط للمعامل '…' في الدالة '…' يجب أن يكون من النوع '…' لكن مُرّر '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_call)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م
Handbook examples that print it
Example
داله ضعف(س عدد64) عدد64:
ارجع س * 2
اطبع(ضعف("اثنان"))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0179] سطر 3:10 - الوسيط للمعامل 'س' في الدالة 'ضعف' يجب أن يكون من النوع 'عدد64' لكن مُرّر 'نص'   3 | اطبع(ضعف("اثنان"))     |          ^

Exit code: 2

In the error catalog: E0179

Example
هيكل متر:
ق كسر64
هيكل ثانية:
ق كسر64
داله سرعة(م متر, ث ثانية) كسر64:
ارجع م.ق / ث.ق
اطبع(سرعة(ثانية(8.0), متر(100.0)))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0179] سطر 7:11 - الوسيط للمعامل 'م' في الدالة 'سرعة' يجب أن يكون من النوع 'هيكل متر' لكن مُرّر 'هيكل ثانية'   7 | اطبع(سرعة(ثانية(8.0), متر(100.0)))     |           ^  تلميح: 'متر' و 'ثانية' هيكلان مختلفان وإن تطابقت حقولهما: نوع الهيكل اسمه لا شكل حقوله. أنشئ القيمة بـ متر(...).

Exit code: 2

In the error catalog: E0179

E0180 الوسيط للمعامل '…' في الدالة الخارجية '…' يجب أن يكون من النوع '…' (…) لكن مُرّر '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_extern_call)
A reference program that prints it
tests/programs/اخطاء/دلالي_خارجي.م

E0181 الوسيط هنا نوع مكتوب (عدد64، بايت، اسم هيكل، مؤشر[...]، شريحة[...]) لا قيمة

Exit code
2
Source in the compiler
semantic_analyzer.py (written)
A reference program that prints it
—

E0182 تصريح 'خارجي' في المستوى الأعلى من الملف فقط، لا داخل دالة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ExternFuncNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_خارجي.م

E0183 تصريح 'خارجي' ممنوع بالخيار --no-ffi

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ExternFuncNode)
A reference program that prints it
tests/programs/خارجي/ممنوع.م

E0184 تعذّر تحديد نوع ما تُرجعه الدالة '…' عند هذا الاستدعاء العودي

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_call)
A reference program that prints it
tests/programs/اخطاء/دلالي_دفعة_ا.م

E0185 تعريفك لـ'…'… يحجب '…' المستوردة من '…' في الملف كله، وهو لم يُعرَّف بعد عند هذا السطر

Exit code
2
Source in the compiler
semantic_analyzer.py (raise_if_shadowing_definition_comes_later)
A reference program that prints it
tests/programs/مكتبة/رياضيات_حجب_قبل_التعريف.م

E0186 جملة 'استورد' بعد جمل أخرى

Exit code
2
Source in the compiler
modules.py (load_module)
A reference program that prints it
tests/programs/متعدد/18_اخطاء_استيراد.م

E0187 جميع عناصر … يجب أن تكون من نفس النوع (متوقع '…' ووجد '…')

Exit code
2
Source in the compiler
semantic_analyzer.py (_unify_element_types)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م
A handbook example that prints it
Example
ق = [1, "اثنان", 3]
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0187] سطر 1:5 - جميع عناصر القائمة يجب أن تكون من نفس النوع (متوقع 'عدد64' ووجد 'نص')   1 | ق = [1, "اثنان", 3]     |     ^

Exit code: 2

In the error catalog: E0187

E0188 حجم المصفوفة يجب أن يكون 1 أو أكثر

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_container_type)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م

E0189 حجم المصفوفة يجب أن يكون عدداً صحيحاً لكن وُجد '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ArrayNode)
A reference program that prints it
—

E0190 حدود 'مدى' يجب أن تكون أعداداً صحيحة لكن وُجد النوع '…'

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
tests/programs/اخطاء/دلالي_مدمجة.م

E0191 حدّا القطعة عددان صحيحان لا '…'

Exit code
2
Source in the compiler
lowlevel.py (check)
A reference program that prints it
—

E0192 خطوة 'مدى' لا يمكن أن تكون صفراً

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
tests/programs/اخطاء/دلالي_دفعة_ا.م
A handbook example that prints it
Example
لكل ع في مدى(0, 10, 0):
اطبع(ع)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0192] سطر 1:21 - خطوة 'مدى' لا يمكن أن تكون صفراً   1 | لكل ع في مدى(0, 10, 0):     |                     ^  تلميح: استخدم خطوة موجبة للعدّ تصاعدياً أو سالبة للعدّ تنازلياً.

Exit code: 2

In the error catalog: E0192

E0193 دالة 'طول' تعمل فقط مع القوائم والمصفوفات والقواميس والنصوص لكن وُجد النوع '…'

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
—
A handbook example that prints it
Example
اطبع(طول(5))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0193] سطر 1:6 - دالة 'طول' تعمل فقط مع القوائم والمصفوفات والقواميس والنصوص لكن وُجد النوع 'عدد64'   1 | اطبع(طول(5))     |      ^

Exit code: 2

In the error catalog: E0193

E0194 دالة 'طول' لا تعمل مع النوع '…'

Exit code
2
Source in the compiler
builtin_funcs.py (emit)
A reference program that prints it
—

E0195 صيغة النوع '…' غير صحيحة

Exit code
2
Source in the compiler
semantic_analyzer.py (bad_form)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م
A handbook example that prints it
Example
ق قائمة[عدد64, نص] = []
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0195] سطر 1:3 - صيغة النوع 'قائمة[عدد64, نص]' غير صحيحة   1 | ق قائمة[عدد64, نص] = []     |   ^~~~~  تلميح: الصيغة: قائمة[نوع_العناصر]

Exit code: 2

In the error catalog: E0195

E0196 طول الشريحة عدد صحيح لا '…'

Exit code
2
Source in the compiler
lowlevel.py (check)
A reference program that prints it
—

E0197 عدد العناصر في '…' عدد صحيح لا '…'

Exit code
2
Source in the compiler
lowlevel.py (check)
A reference program that prints it
—

E0198 عملية البتات '…' على الأعداد الصحيحة فقط لكن وُجد النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
tests/programs/اخطاء/عمليات_البتات_اخطاء.م
A handbook example that prints it
Example
اطبع(1.5 & 1)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0198] سطر 1:10 - عملية البتات '&' على الأعداد الصحيحة فقط لكن وُجد النوع 'كسر64'   1 | اطبع(1.5 & 1)     |          ^  تلميح: عمليات البتات على الأعداد الصحيحة (بالمتمم الثنائي).

Exit code: 2

In the error catalog: E0198

E0199 فهرس القائمة أو المصفوفة يجب أن يكون عدداً صحيحاً لكن وُجد '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_IndexNode)
A reference program that prints it
—

E0200 فهرس النص يجب أن يكون عدداً صحيحاً لكن وُجد '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_IndexNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_نصوص_ونسخ.م

E0201 قيمة البديل من النوع '…' والتعبير يرجع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (yields_on_every_path)
A reference program that prints it
—

E0202 قيمة الحقل '…' من النوع '…' لكن الحقل في الهيكل '…' من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_struct_init)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م
A handbook example that prints it
Example
هيكل شخص:
اسم نص
عمر عدد64
ش = شخص("سارة", "ثلاثون")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0202] سطر 4:17 - قيمة الحقل 'عمر' من النوع 'نص' لكن الحقل في الهيكل 'شخص' من النوع 'عدد64'   4 | ش = شخص("سارة", "ثلاثون")     |                 ^

Exit code: 2

In the error catalog: E0202

E0203 قيمة حرفية تحجز من الافتراضي

Exit code
2
Source in the compiler
semantic_analyzer.py (check_literal_allocation)
A reference program that prints it
—

E0204 كتلة 'والا' يُنتظر منها قيمة من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_CatchNode)
A reference program that prints it
tests/programs/اخطاء/اخطاء_سوء_استعمال.م
A handbook example that prints it
Example
داله ف() !عدد64:
ارجع 1
ك = ف() والا خ:
اطبع("فشل")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0204] سطر 3:9 - كتلة 'والا' يُنتظر منها قيمة من النوع 'عدد64'   3 | ك = ف() والا خ:     |         ^~~~  تلميح: اجعل آخر سطر في كل مسار من الكتلة القيمة البديلة (أو ارجع أو توقف أو تجاوز). مثال:    ن = حلل(نص_ما, عدد64) والا خ:        اطبع("ليس عدداً")        0

Exit code: 2

In the error catalog: E0204

E0205 لا تحويل من '…' إلى '…'

Exit code
2
Source in the compiler
lowlevel.py (check)
A reference program that prints it
tests/programs/اخطاء/طبقة_منخفضة_اخطاء.م

E0206 لا تُقارن المؤشرات إلا بـ '==' و '!='

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0207 لا يمكن أن تكون عناصر '…' من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (element)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م

E0208 لا يمكن أن يكون الحقل '…' من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (struct_field_type)
A reference program that prints it
tests/programs/اخطاء/دلالي_هياكل_اسمية.م

E0209 لا يمكن أن يكون نوع المعامل '…' هو '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_FuncDefNode)
A reference program that prints it
—

E0210 لا يمكن إضافة عنصر إلى المصفوفة … لأن حجمها ثابت

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
—

E0211 لا يمكن إنشاء مؤشر إلى 'فراغ'

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_new)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0212 لا يمكن إنشاء مؤشر إلى 'لاشيء' دون نوع

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_new)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0213 لا يمكن إنشاء مؤشر إلى '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_container_type)
A reference program that prints it
—

E0214 لا يمكن إنشاء … من النوع '…': نوع العناصر غير محدد بالكامل

Exit code
2
Source in the compiler
semantic_analyzer.py (empty_literal_type)
A reference program that prints it
tests/programs/اخطاء/دلالي_هياكل_اسمية.م

E0215 لا يمكن استخدام 'اضف' مع القاموس …

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
tests/programs/اخطاء/دلالي_مدمجة.م

E0216 لا يمكن استخدام الثابت '…' متغيراً للحلقة

Exit code
2
Source in the compiler
semantic_analyzer.py (check_loop_variable)
A reference program that prints it
tests/programs/دقة/حلقة_وثابت.م

E0217 لا يمكن استخدام نوع الكسر '…' في 'حالات'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_SwitchNode)
A reference program that prints it
tests/programs/اخطاء/حالات_على_كسر.م

E0218 لا يمكن استخدام النوع '…' في 'حالات'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_SwitchNode)
A reference program that prints it
—

E0219 لا يمكن الإسناد إلى '….…': ما تصدّره الوحدة '…' ثوابت ودوال وهياكل، ولا يُعدَّل من خارجها

Exit code
2
Source in the compiler
modules.py (visit)
A reference program that prints it
tests/programs/متعدد/13b_ثوابت_خطأ.م

E0220 لا يمكن التكرار على النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ForInNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_هل_تقصد.م

E0221 لا يمكن تحرير الثابت '…': 'حرر' يجعل المؤشر لاشيء وهذا تعديل للثابت

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0222 لا يمكن تحويل النوع '…' إلى عدد

Exit code
2
Source in the compiler
builtin_funcs.py (emit)
A reference program that prints it
—

E0223 لا يمكن تحويل النوع '…' إلى كسر

Exit code
2
Source in the compiler
builtin_funcs.py (emit)
A reference program that prints it
—

E0224 لا يمكن تحويل … إلى نص

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
tests/programs/اخطاء/دلالي_جمع_نصوص.م

E0225 لا يمكن تعديل قيمة الثابت '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_AssignNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_دفعة_ا.م
A handbook example that prints it
Example
ثابت حد = 10
حد = 20
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0225] سطر 2:1 - لا يمكن تعديل قيمة الثابت 'حد'   2 | حد = 20     | ^~  تلميح: الثوابت لا تتغير بعد تعريفها؛ استخدم متغيراً عادياً إذا أردت تعديل القيمة.

Exit code: 2

In the error catalog: E0225

E0226 لا يمكن جمع '…' و '…' بـ '+': النوعان مختلفان ولا تحويل تلقائياً

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_اطبع_وسائط.م
Handbook examples that print it
Example
اطبع("العمر " + 30)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0226] سطر 1:15 - لا يمكن جمع 'نص' و 'عدد64' بـ '+': النوعان مختلفان ولا تحويل تلقائياً   1 | اطبع("العمر " + 30)     |               ^  تلميح: حوّل القيمة صراحةً ليصير الطرفان نصين: "العدد " + نص(5)   أو افصل القيم بفاصلة داخل اطبع: اطبع("العدد ", 5)

Exit code: 2

In the error catalog: E0226

Example
اطبع("العمر " + 30)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0226] سطر 1:15 - لا يمكن جمع 'نص' و 'عدد64' بـ '+': النوعان مختلفان ولا تحويل تلقائياً   1 | اطبع("العمر " + 30)     |               ^  تلميح: حوّل القيمة صراحةً ليصير الطرفان نصين: "العدد " + نص(5)   أو افصل القيم بفاصلة داخل اطبع: اطبع("العدد ", 5)

Exit code: 2

In the error catalog: E0226

E0227 لا يمكن جمع '…' و '…' بـ '+=': النوعان مختلفان ولا تحويل تلقائياً

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_AugAssignNode)
A reference program that prints it
—

E0228 لا يمكن فهرسة مؤشر

Exit code
2
Source in the compiler
semantic_analyzer.py (_index_container_error)
A reference program that prints it
—

E0229 لا يمكن مقارنة أنواع مختلفة '…' و '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
tests/programs/اخطاء/تعداد_اخطاء.م
A handbook example that prints it
Example
اطبع(1 == "1")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0229] سطر 1:8 - لا يمكن مقارنة أنواع مختلفة 'عدد64' و 'نص'   1 | اطبع(1 == "1")     |        ^~

Exit code: 2

In the error catalog: E0229

E0230 لا يوجد متغير عام باسم '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_GlobalDeclNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_دفعة_ا.م

E0231 لا … بمخصص صريح لخانة من النوع '…': فيها قيمة مُدارة (نص أو قائمة أو قاموس)

Exit code
2
Source in the compiler
semantic_analyzer.py (check_explicit_allocator)
A reference program that prints it
—

E0232 متغير الحلقة '…' معرّف سابقاً بالنوع '…' ولا يمكن أن يأخذ عناصر من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (check_loop_variable)
A reference program that prints it
tests/programs/دقة/حلقة_وثابت.م
A handbook example that prints it
Example
ع = "نص"
لكل ع في مدى(0, 3):
اطبع(ع)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0232] سطر 2:5 - متغير الحلقة 'ع' معرّف سابقاً بالنوع 'نص' ولا يمكن أن يأخذ عناصر من النوع 'عدد64'   2 | لكل ع في مدى(0, 3):     |     ^  تلميح: اختر اسماً آخر لمتغير الحلقة.

Exit code: 2

In the error catalog: E0232

E0233 معامل السالب '-' ينطبق فقط على الأعداد لكن وُجد النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_UnaryOpNode)
A reference program that prints it
—

E0234 معامل النفي '!' يتطلب قيمة منطقية لكن وُجد النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_UnaryOpNode)
A reference program that prints it
—

E0235 مفتاح القاموس من النوع '…' لا '…'

Exit code
2
Source in the compiler
collection_builtins.py (_check_container_search)
A reference program that prints it
—

E0236 مفتاح القاموس ينبغي أن يكون من النوع '…' وليس '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_IndexNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_مدمجة.م

E0237 مقارن 'رتب_ب' من النوع '…' لكن وُجد '…'

Exit code
2
Source in the compiler
collection_builtins.py (check)
A reference program that prints it
tests/programs/اخطاء/دلالي_رتب_ب.م

E0238 ناتج '…' هنا من النوع '…' ولا يمكن تخزينه في موضع من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_AugAssignNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_مدمجة.م

E0239 نفي البتات '~' على الأعداد الصحيحة فقط لكن وُجد النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_UnaryOpNode)
A reference program that prints it
tests/programs/اخطاء/عمليات_البتات_اخطاء.م

E0240 نوع الإرجاع 'لاشيء' غير مدعوم؛ استخدم 'فراغ' للدوال التي لا تُرجع قيمة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_FuncDefNode)
A reference program that prints it
—

E0241 نوع الإرجاع '…' غير صالح

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_declared)
A reference program that prints it
—

E0242 نوع الإرجاع '…' في '…' غير صالح

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_function_type)
A reference program that prints it
—

E0243 نوع الحالة '…' لا يطابق نوع التعبير '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_SwitchNode)
A reference program that prints it
—

E0244 نوع الحقل '…' غير محدد بالكامل: '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (generic_field_type)
A reference program that prints it
tests/programs/اخطاء/دلالي_هياكل_اسمية.م

E0245 نوع القيمة المرجعة '…' لا يطابق '…' في نوع الإرجاع '!…' للدالة '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (fallible_return)
A reference program that prints it
—

E0246 نوع القيمة المرجعة '…' لا يطابق نوع الإرجاع المعلن '…' للدالة '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ReturnNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م
A handbook example that prints it
Example
داله نصف(س عدد64) عدد64:
ارجع "نصف"
اطبع(نصف(4))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0246] سطر 2:10 - نوع القيمة المرجعة 'نص' لا يطابق نوع الإرجاع المعلن 'عدد64' للدالة 'نصف'   2 |     ارجع "نصف"     |          ^  تلميح: النصوص لا تتحول إلى أعداد تلقائياً.

Exit code: 2

In the error catalog: E0246

E0247 نوع المعامل '…' في '…' غير صالح

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_function_type)
A reference program that prints it
—

E0248 نوع المفتاح '…' غير مدعوم في القواميس

Exit code
2
Source in the compiler
semantic_analyzer.py (dict_literal)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م

E0249 نوع غير معروف '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_declared)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م
A handbook example that prints it
Example
س عددي = 1
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0249] سطر 1:3 - نوع غير معروف 'عددي'   1 | س عددي = 1     |   ^~~~  تلميح: هل تقصد 'عدد8'؟

Exit code: 2

In the error catalog: E0249

E0250 نوع ما يشير إليه المؤشر غير محدد بالكامل: '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_container_type)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0251 نوع مفتاح القاموس '…' لا يطابق المتوقع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_IndexAssignNode)
A reference program that prints it
—

E0252 نوع … '…' لا يطابق النوع المحدد '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (apply_declared)
A reference program that prints it
tests/programs/اخطاء/اعداد_باحجامها_اخطاء.م

E0253 هذا الملف برنامج لا مكتبة: فيه جملة تنفيذية في المستوى الأعلى

Exit code
2
Source in the compiler
modules.py (check_library_statements)
A reference program that prints it
tests/programs/متعدد/6_مكتبه_سيئة.م

E0254 وسيط المخصص الأخير لـ '…' متروك

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_call)
A reference program that prints it
—

E0255 … لا تكون من النوع '…': فيه قيمة مُدارة (نص أو قائمة أو قاموس)

Exit code
2
Source in the compiler
semantic_analyzer.py (require_raw_element)
A reference program that prints it
—

E0256 … مخصص (من النوع 'مخصص') لا '…'

Exit code
2
Source in the compiler
allocators.py (require_allocator)
A reference program that prints it
tests/programs/اخطاء/طبقة_منخفضة_اخطاء.م
A handbook example that prints it
Example
م = جديد(1, 5)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0256] سطر 1:13 - الوسيط الثاني لـ 'جديد' مخصص (من النوع 'مخصص') لا 'عدد64'   1 | م = جديد(1, 5)     |             ^  تلميح: المخصصات: النظام، الافتراضي، ساحة(الاصل)، كاشف(الاصل)، مخزن_ثابت(شريحة).

Exit code: 2

In the error catalog: E0256

E0257 … يجب أن يكون قيمة منطقية (صواب/خطاء) لكنه من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (check_condition)
A reference program that prints it
tests/programs/اخطاء/دلالي_متعدد.م

E0258 …: الوحدة في وضع بلا_افتراضي (لا حجز من المخصص الافتراضي)

Exit code
2
Source in the compiler
semantic_analyzer.py (no_default_error)
A reference program that prints it
tests/programs/اخطاء/بلا_افتراضي_اخطاء.م
Handbook examples that print it
Example
بلا_افتراضي
ق = [1, 2]
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0258] سطر 2:5 - قيمة حرفية تحجز من الافتراضي: الوحدة في وضع بلا_افتراضي (لا حجز من المخصص الافتراضي)   2 | ق = [1, 2]     |     ^  تلميح: اكتبها قائمة_من([...], م) بمخصص صريح، فتُبنى فيه مباشرة.

Exit code: 2

In the error catalog: E0258

Example
بلا_افتراضي
ن = نص(5)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0258] سطر 2:5 - 'نص' بلا مخصص تحجز من الافتراضي (أو تحرر إليه): الوحدة في وضع بلا_افتراضي (لا حجز من المخصص الافتراضي)   2 | ن = نص(5)     |     ^~  تلميح: مرّر المخصص آخر الوسائط: نص(..., م).

Exit code: 2

In the error catalog: E0258

E0388 'حالات' على التعداد '…' لا تذكر: …

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_SwitchNode)
A reference program that prints it
tests/programs/اخطاء/اتحاد_موسوم_اخطاء2.م
A handbook example that prints it
Example
تعداد اشارة:
احمر
اخضر
ا = اشارة.احمر
حالات ا:
حاله اشارة.احمر:
اطبع("قف")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0388] سطر 5:1 - 'حالات' على التعداد 'اشارة' لا تذكر: اخضر   5 | حالات ا:     | ^~~~~  تلميح: اذكر كل عضو في 'حاله'، أو أضف  حاله _:  لما بقي.

Exit code: 2

In the error catalog: E0388

E0389 آلية العدّ المرجعي استُعملت (…) وهي ممنوعة بـ MEEM_FORBID_RC

Exit code
2
Source in the compiler
codegen.py (forbid_rc)
A reference program that prints it
—

E0390 استيراد دائري: …

Exit code
2
Source in the compiler
modules.py (resolve_import)
A reference program that prints it
tests/programs/متعدد/7_دائري.م

E0391 الحقل '…' في الهيكل '…' بلا نوع

Exit code
2
Source in the compiler
semantic_analyzer.py (untyped_field_error)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م
A handbook example that prints it
Example
هيكل نقطة:
س
ص عدد64
ن = نقطة(1, 2)
اطبع(ن.ص)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0391] سطر 2:5 - الحقل 'س' في الهيكل 'نقطة' بلا نوع   2 |     س     |     ^  تلميح: اكتب نوع الحقل، مثل: س عدد64 (أو شغّل --fix فيكتبها عنك)

Exit code: 2

In the error catalog: E0391

E0392 الصيغة القديمة لتعريف المصفوفة أُزيلت

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_IndexAssignNode)
A reference program that prints it
tests/programs/اخطاء/صيغ_مزالة.م

E0393 خطأ داخلي في المجمّع أثناء الفحص (…): …

Exit code
2
Source in the compiler
main.py (check_source)
A reference program that prints it
—

E0394 فشل التحقق من كود LLVM الناتج: …

Exit code
2
Source in the compiler
codegen.py (finish_module)
A reference program that prints it
—

E0395 لا يمكن مقارنة '…' بـ '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0396 لا يمكن مقارنة '…' بـ '…': نوعان مختلفان من المؤشرات

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0397 نتيجة … من النوع '!…' مهملة: قد يكون خطأً لم يُعالَج

Exit code
2
Source in the compiler
semantic_analyzer.py (fallible_misuse)
A reference program that prints it
tests/programs/اخطاء/اخطاء_سوء_استعمال.م
A handbook example that prints it
Example
استورد ملفات
ملفات.اكتب_ملف("ناتج.txt", "سطر\n")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0397] مثال.م:2:7 - نتيجة 'ملفات.اكتب_ملف(...)' من النوع '!فراغ' مهملة: قد يكون خطأً لم يُعالَج   2 | ملفات.اكتب_ملف("ناتج.txt", "سطر\n")     |       ^~~~~~~~~~~~~~  تلميح: عالج الخطأ في موضعه:  جرّب ملفات.اكتب_ملف(...)  (يمرّر الخطأ إلى مستدعي الدالة)   أو   ملفات.اكتب_ملف(...) والا خ:  ثم كتلة   أو   ملفات.اكتب_ملف(...) والا خ:  ثم كتلة تعالج «خ»

Exit code: 2

In the error catalog: E0397

E0398 … بلا نوع عناصر

Exit code
2
Source in the compiler
semantic_analyzer.py (empty_literal_type)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م

E0399 … من النوع '!…' (قد يفشل) ولا يُستعمل كأنه '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (fallible_misuse)
A reference program that prints it
tests/programs/اخطاء/اخطاء_سوء_استعمال.م
Handbook examples that print it
Example
اطبع(حلل("ثلاثة", عدد64) + 1)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0399] سطر 1:6 - 'حلل(...)' من النوع '!عدد64' (قد يفشل) ولا يُستعمل كأنه 'عدد64'   1 | اطبع(حلل("ثلاثة", عدد64) + 1)     |      ^~~  تلميح: عالج الخطأ في موضعه:  جرّب حلل(...)  (يمرّر الخطأ إلى مستدعي الدالة)   أو   حلل(...) والا قيمة_بديلة   أو   حلل(...) والا خ:  ثم كتلة تعالج «خ»

Exit code: 2

In the error catalog: E0399

Example
داله نصف(ن نص) !عدد64:
ارجع جرّب حلل(ن, عدد64) / 2
س = نصف("8")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0399] سطر 3:5 - 'نصف(...)' من النوع '!عدد64' (قد يفشل) ولا يُستعمل كأنه 'عدد64'   3 | س = نصف("8")     |     ^~~  تلميح: عالج الخطأ في موضعه:  جرّب نصف(...)  (يمرّر الخطأ إلى مستدعي الدالة)   أو   نصف(...) والا قيمة_بديلة   أو   نصف(...) والا خ:  ثم كتلة تعالج «خ»

Exit code: 2

In the error catalog: E0399

E0406 القيمة الافتراضية للحقل '…' من النوع '…' لكن الحقل من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (struct_field_type)
A reference program that prints it
tests/programs/اخطاء/دلالي_هياكل_اسمية.م

E0407 القيمة البديلة من النوع '…' والتعبير يرجع '…' عند النجاح

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_CatchNode)
A reference program that prints it
tests/programs/اخطاء/اخطاء_سوء_استعمال.م

E0408 لا يمكن تعيين قيمة من النوع '…' للمتغير '…' من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_AssignNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م
Handbook examples that print it
Example
س = 1
س = "واحد"
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0408] سطر 2:1 - لا يمكن تعيين قيمة من النوع 'نص' للمتغير 'س' من النوع 'عدد64'   2 | س = "واحد"     | ^  تلميح: النصوص لا تتحول إلى أعداد تلقائياً.

Exit code: 2

In the error catalog: E0408

Example
س = 1
س = "نص"
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0408] سطر 2:1 - لا يمكن تعيين قيمة من النوع 'نص' للمتغير 'س' من النوع 'عدد64'   2 | س = "نص"     | ^  تلميح: النصوص لا تتحول إلى أعداد تلقائياً.

Exit code: 2

In the error catalog: E0408

E0409 نوع القيمة '…' لا يطابق نوع الحقل '…' وهو '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_SetFieldNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0410 نوع القيمة '…' لا يطابق نوع العناصر '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_IndexAssignNode)
A reference program that prints it
—

E0411 نوع القيمة '…' لا يطابق نوع عناصر القائمة '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_IndexAssignNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_انواع.م

E0412 نوع القيمة '…' لا يطابق نوع قيم القاموس '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_IndexAssignNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0413 نوع القيمة '…' لا يطابق نوع ما يشير إليه المؤشر '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_DerefAssignNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0414 … لا تُكتب إلا داخل منطقة 'خطر'

Exit code
2
Source in the compiler
semantic_analyzer.py (require_unsafe)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م
Handbook examples that print it
Example
م = احجز_خام(عدد64, 2)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0414] سطر 1:5 - 'احجز_خام' لا تُكتب إلا داخل منطقة 'خطر'   1 | م = احجز_خام(عدد64, 2)     |     ^~~~~~~~  تلميح: ضعها في كتلة  خطر:  أو في دالة معرَّفة بـ  خطر داله ...

Exit code: 2

In the error catalog: E0414

Example
م = احجز_خام(عدد64, 2)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0414] سطر 1:5 - 'احجز_خام' لا تُكتب إلا داخل منطقة 'خطر'   1 | م = احجز_خام(عدد64, 2)     |     ^~~~~~~~  تلميح: ضعها في كتلة  خطر:  أو في دالة معرَّفة بـ  خطر داله ...

Exit code: 2

In the error catalog: E0414

E0415 … ممنوعة بالخيار --no-unsafe

Exit code
2
Source in the compiler
semantic_analyzer.py (forbid_when_no_unsafe)
A reference program that prints it
tests/programs/اخطاء/بلا_خطر.م

E0423 الحقل '…' أُعطي قيمة أكثر من مرة في إنشاء الهيكل '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_struct_init)
A reference program that prints it
tests/programs/اخطاء/دلالي_هياكل_اسمية.م

E0424 الهيكل '…' بلا حقول لكن مُرّرت له قيم

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_struct_init)
A reference program that prints it
—

E0425 الهيكل '…' يملك … فقط لكن مُرّر …

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_struct_init)
A reference program that prints it
tests/programs/اخطاء/دلالي_دوال_وهياكل.م
A handbook example that prints it
Example
هيكل نقطة:
س عدد64
ا = نقطة(1, 2)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0425] سطر 3:5 - الهيكل 'نقطة' يملك حقلاً واحداً فقط لكن مُرّر قيمتان   3 | ا = نقطة(1, 2)     |     ^~~~  تلميح: الحقول: س

Exit code: 2

In the error catalog: E0425

E0426 قيمة بلا اسم بعد قيم مسمّاة في إنشاء الهيكل '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_struct_init)
A reference program that prints it
tests/programs/اخطاء/دلالي_هياكل_اسمية.م

E0435 الملف '…' ليس بالامتداد .م: الملف الرئيسي ملف ميم

Exit code
2
Source in the compiler
modules.py (load_program)
A reference program that prints it
—

E0436 '…' يبدأ بالقيمة لاشيء بلا نوع

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_AssignNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م

E0437 '…' من النوع '…' لا يكون لاشيء

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
tests/programs/اخطاء/حاوية_لاشيء.م

E0438 النوع '…' غير صالح: '…' …

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_optional)
A reference program that prints it
—

E0439 القيمة الاختيارية لا خطأ فيها يُسمّى '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_CatchNode)
A reference program that prints it
—

E0440 الوسيط رقم … لـ '…' من النوع '…' وقد يكون لاشيء

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_builtin)
A reference program that prints it
tests/programs/اخطاء/نص_سي_لاشيء.م
A handbook example that prints it
Example
خ = نص_سي("سي")
خطر:
اطبع(طول(من_نص_سي(خ)))
حرر(خ)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0440] سطر 3:14 - الوسيط رقم 1 لـ 'طول' من النوع 'نص؟' وقد يكون لاشيء   3 |     اطبع(طول(من_نص_سي(خ)))     |              ^  تلميح: القيمة قد تكون لاشيء: افحصها أولاً  اذا س != لاشيء:  (فهي داخل الكتلة من نوعها)، أو أعطِ بديلاً  س والا قيمة

Exit code: 2

In the error catalog: E0440

E0441 عنصر … من النوع '…' والمتوقع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (optional_elements)
A reference program that prints it
—

E0444 النوع 'نص_او_لاشيء' أُزيل: اكتب نص؟

Exit code
2
Source in the compiler
semantic_analyzer.py (c_type)
A reference program that prints it
tests/programs/اخطاء/دلالي_خارجي.م

E0445 'مع' و'بسبب' تتبعان قيمة خطأ لكن وُجد '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ErrorContextNode)
A reference program that prints it
tests/programs/اخطاء/سياق_اخطاء.م

E0446 'بسبب' تأخذ قيمة من النوع 'خطأ' لكن وُجد '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ErrorContextNode)
A reference program that prints it
tests/programs/اخطاء/سياق_اخطاء.م

E0447 'مع' تأخذ قيماً مفردة (نص، عدد صحيح، كسر عشري، منطقي، رمز، تعداد، خطأ) لكن وُجد '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ErrorContextNode)
A reference program that prints it
tests/programs/اخطاء/سياق_اخطاء.م

E0449 'حالات' على خطأ '…' لا تذكر: …

Exit code
2
Source in the compiler
semantic_analyzer.py (check_error_sets)
A reference program that prints it
—

E0450 مجموعة أخطاء '…' غير معروفة هنا: أضف حاله _

Exit code
2
Source in the compiler
semantic_analyzer.py (check_error_sets)
A reference program that prints it
—

E0451 '…' لا ترجع الخطأ '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (check_error_sets)
A reference program that prints it
—

E0453 '…' قد ترجع الخطأ '…' وليس في مجموعتها المعلنة {…}

Exit code
2
Source in the compiler
semantic_analyzer.py (check_error_sets)
A reference program that prints it
—

E0454 لا يُخرج من كتلة 'والا' في 'خاتمه' بـ '…': الدالة تخرج أصلاً

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_DeferNode)
A reference program that prints it
tests/programs/اخطاء/خاتمه_والا_اخطاء.م

E0455 'والا _' في جملة وحدها: لا قيمة بديلة تُعطى

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_CatchNode)
A reference program that prints it
tests/programs/اخطاء/خاتمه_والا_اخطاء.م

E0456 النوع '…' أُزيل: اكتب حجمه، … في الغالب

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_declared)
A reference program that prints it
—

E0457 الحرفية … خارج مدى '…' (من … إلى …)

Exit code
2
Source in the compiler
semantic_analyzer.py (adapt_literal)
A reference program that prints it
tests/programs/اخطاء/اعداد_باحجامها_اخطاء.م
A handbook example that prints it
Example
ش = احجز(بايت, 2)
ش[0] = 256
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0457] سطر 2:8 - الحرفية 256 خارج مدى 'طبيعي8' (من 0 إلى 255)   2 | ش[0] = 256     |        ^  تلميح: اختر نوعاً أعرض، أو اكتب قيمة في المدى.

Exit code: 2

In the error catalog: E0457

E0458 '…' بين '…' و'…': لا نوع يسعهما

Exit code
2
Source in the compiler
semantic_analyzer.py (numeric_peer)
A reference program that prints it
tests/programs/اخطاء/اعداد_باحجامها_اخطاء.م

E0459 '…' لا يُسند إلى '…' ضمناً: قد لا تتسع القيمة

Exit code
2
Source in the compiler
semantic_analyzer.py (apply_declared)
A reference program that prints it
tests/programs/اخطاء/اعداد_باحجامها_اخطاء.م

E0460 '…' على كسر يحتاج تقريباً: رياضيات.بتر أو ارضيه أو سقف أو قرب

Exit code
2
Source in the compiler
lowlevel.py (check)
A reference program that prints it
tests/programs/اخطاء/اعداد_باحجامها_اخطاء.م

E0461 '-' على '…': لا سالب في الطبيعي

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_UnaryOpNode)
A reference program that prints it
tests/programs/اخطاء/اعداد_باحجامها_اخطاء.م

E0463 الحرفية الكسرية … حيث يُنتظر عدد صحيح '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (adapt_literal)
A reference program that prints it
tests/programs/اخطاء/دلالي_خارجي.م
A handbook example that prints it
Example
س عدد64 = 2.5
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0463] سطر 1:11 - الحرفية الكسرية 2.5 حيث يُنتظر عدد صحيح 'عدد64'   1 | س عدد64 = 2.5     |           ^  تلميح: اكتب عدداً صحيحاً، أو حوّل بتقريب: رياضيات.قرب(...)

Exit code: 2

In the error catalog: E0463

E0464 '…' ملتبس في الاستدعاء بالنقطة: …

Exit code
2
Source in the compiler
semantic_analyzer.py (try_uniform_call)
A reference program that prints it
—

E0465 لا دالة '…' تُستدعى بالنقطة على قيمة من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (try_uniform_call)
A reference program that prints it
tests/programs/اخطاء/اعداد_باحجامها_اخطاء.م

E0466 'حلل' تقرأ نصاً لا '…'

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
—

E0467 'حلل' تقرأ عدداً من الأنواع العددية لا '…'

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
—

E0468 'ملتف' تحوّل عدداً صحيحاً إلى نوع صحيح

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
—

E0469 '…' على الأعداد الصحيحة لا '…'

Exit code
2
Source in the compiler
builtin_funcs.py (check)
A reference program that prints it
—

E0470 '…(...)' أُزيلت مع اسم النوع: اكتب …

Exit code
2
Source in the compiler
builtin_funcs.py (removed_conversion)
A reference program that prints it
tests/programs/اخطاء/تحويل_مزال.م

E0477 الهيكل '…' بالقيمة في … للدالة الخارجية '…': ميم لا تمرّر الهياكل إلى C بالقيمة

Exit code
2
Source in the compiler
semantic_analyzer.py (c_type)
A reference program that prints it
tests/programs/اخطاء/دلالي_خارجي.م
A handbook example that prints it
Example
هيكل_سي زوج:
ا عدد32
ب عدد32
خارجي داله قسم_c(ا عدد32, ب عدد32) زوج باسم "div"
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0477] سطر 4:36 - الهيكل 'زوج' بالقيمة في نوع الإرجاع للدالة الخارجية 'قسم_c': ميم لا تمرّر الهياكل إلى C بالقيمة   4 | خارجي داله قسم_c(ا عدد32, ب عدد32) زوج باسم "div"     |                                    ^~~  تلميح: مرّر مؤشراً إليه: مؤشر[زوج]، والهيكل بتخطيط C (هيكل_سي). وإن كانت دالة C تأخذه أو ترجعه بالقيمة فاكتب لها غلافاً صغيراً في C يأخذ مؤشراً ويكتب فيه.

Exit code: 2

In the error catalog: E0477

E0478 الهيكل المبهم '…' لا يُستعمل بالقيمة: لا حقول له ولا حجم

Exit code
2
Source in the compiler
semantic_analyzer.py (opaque_by_value)
A reference program that prints it
tests/programs/اخطاء/هيكل_مبهم_بالقيمة.م

E0480 عرض التعداد '…' نوع صحيح بحجمه لا '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_EnumDefNode)
A reference program that prints it
tests/programs/اخطاء/تعداد_قيم_خاطئة.م

E0481 قيمة العضو '…' (…) خارج مدى '…' (من … إلى …)

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_EnumDefNode)
A reference program that prints it
tests/programs/اخطاء/تعداد_قيم_خاطئة.م
A handbook example that prints it
Example
تعداد لون: طبيعي8
احمر = 300
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0481] سطر 2:5 - قيمة العضو 'احمر' (300) خارج مدى 'طبيعي8' (من 0 إلى 255)   2 |     احمر = 300     |     ^~~~  تلميح: وسّع عرض التعداد (تعداد الاسم: عدد64) أو صغّر القيمة.

Exit code: 2

In the error catalog: E0481

E0482 القيمة … مكررة في التعداد '…': العضوان '…' و'…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_EnumDefNode)
A reference program that prints it
tests/programs/اخطاء/تعداد_قيم_خاطئة.م

E0486 قيمة الصف بلا نوع معروف: نوعه من موضعه

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_TupleNode)
A reference program that prints it
tests/programs/اخطاء/صفوف_خاطئة.م

E0487 الصف '…' … حقول لكن القيمة فيها …

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_tuple)
A reference program that prints it
—

E0488 الحقل '…' في الصف من النوع '…' لكن القيمة من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_tuple)
A reference program that prints it
tests/programs/اخطاء/صفوف_خاطئة.م

E0489 التفكيك يكون لصف، والقيمة من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_DestructureNode)
A reference program that prints it
tests/programs/اخطاء/صفوف_خاطئة.م

E0490 التفكيك فيه … أسماء والصف '…' فيه … حقول

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_DestructureNode)
A reference program that prints it
tests/programs/اخطاء/صفوف_خاطئة.م

E0491 نوع الحقل '…' في الصف غير صالح: '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_tuple_type)
A reference program that prints it
—

E0493 'نص_من_بايتات' تأخذ شريحة[بايت] لا '…'

Exit code
2
Source in the compiler
collection_builtins.py (check)
A reference program that prints it
—

E0495 '_شريحة_بيانات' تأخذ شريحة لا '…'

Exit code
2
Source in the compiler
std_intrinsics.py (check)
A reference program that prints it
—

E0496 التعداد الموسوم '…' لا يذكر نفسه بالقيمة: استعمل مؤشر[…]

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_EnumDefNode)
A reference program that prints it
tests/programs/اخطاء/اتحاد_موسوم_اخطاء.م

E0497 العضو '…' في التعداد '…' له … حقول لكن الحاله اعطت …

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_SwitchNode)
A reference program that prints it
tests/programs/اخطاء/اتحاد_موسوم_اخطاء2.م

E0498 العضو '…' في التعداد الموسوم '…' له حمولة: ابنِه بأقواس مثل ….…(…)

Exit code
2
Source in the compiler
semantic_analyzer.py (enum_member)
A reference program that prints it
—

E0499 التعداد الموسوم '…': العرض لا يُحدَّد للتعداد الموسوم (وسمه دائماً i64)

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_EnumDefNode)
A reference program that prints it
—

E0500 العضو '…' في التعداد '…' لا حمولة له: استعمله بلا أقواس

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_generic_enum_ctor)
A reference program that prints it
—

E0501 اسم الحقل '…' مكرر في حمولة العضو '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_EnumDefNode)
A reference program that prints it
—

E0502 التعداد '…' لا يطابق تعداد التعبير '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_SwitchNode)
A reference program that prints it
—

E0503 العضو '…' في '…' يتطلب … لكن مُرّر …

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_generic_enum_ctor)
A reference program that prints it
—

E0504 نمط 'حاله ….…(...)' يتطلب تعداداً موسوماً لكن التعبير من النوع '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_SwitchNode)
A reference program that prints it
—

E0506 تعذّر استنتاج معامل النوع '…' في '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (infer_enum_args)
A reference program that prints it
tests/programs/اخطاء/معمّم_اخطاء.م

E0507 … '…' يأخذ … (…) لكن مُرّر …

Exit code
2
Source in the compiler
semantic_analyzer.py (generic_bindings)
A reference program that prints it
tests/programs/اخطاء/معمّم_اخطاء.م

E0508 نسخ … المعمَّم '…' لا ينتهي: كل نسخة تطلب نسخة بنوع أكبر (حد العمق …)

Exit code
2
Source in the compiler
semantic_analyzer.py (check_generic_budget)
A reference program that prints it
—

E0509 معامل النوع '…' مكرر في … '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (register_generic_template)
A reference program that prints it
tests/programs/اخطاء/معمّم_معامل_مكرر.م

E0510 معامل النوع '…' في … '…' باسم نوع مدمج

Exit code
2
Source in the compiler
semantic_analyzer.py (register_generic_template)
A reference program that prints it
tests/programs/اخطاء/معمّم_معامل_مدمج.م

E0512 الحقل '…' في الهيكل المعمَّم بلا نوع

Exit code
2
Source in the compiler
semantic_analyzer.py (generic_field_type)
A reference program that prints it
—

E0513 معاملات النوع في '…' أنواع لا أعداد

Exit code
2
Source in the compiler
semantic_analyzer.py (resolve_generic_type)
A reference program that prints it
—

E0516 السمة '…' غير معرَّفة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_TraitDefNode)
A reference program that prints it
—

E0517 '…' سمة قياسية في المجمّع ولا تُعرَّف في البرنامج

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_TraitDefNode)
A reference program that prints it
—

E0518 السمة '…' معرَّفة بالفعل (السطر …)

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_TraitDefNode)
A reference program that prints it
—

E0519 السمة '…' للأنواع المدمجة وحدها ولا يحققها نوع المبرمج

Exit code
2
Source in the compiler
semantic_analyzer.py (register_impl)
A reference program that prints it
—

E0520 '…' يعلن '…' ولا دالة '…' له ولا تُشتق: …

Exit code
2
Source in the compiler
semantic_analyzer.py (verify_impls)
A reference program that prints it
—

E0521 '…' لا يحقق '…' التي تطلبها '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (check_type_constraints)
A reference program that prints it
—

E0522 الدالة '…' مكررة في السمة '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_TraitDefNode)
A reference program that prints it
—

E0523 الدالة '…' في السمة '…' لا تأخذ معاملاً من '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_TraitDefNode)
A reference program that prints it
—

E0524 '…' ليس معامل نوع في '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (check_constraints_declared)
A reference program that prints it
—

E0531 إعلان التحقيق في المستوى الأعلى من الملف فقط

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ImplementsNode)
A reference program that prints it
—

E0532 'سمة' في المستوى الأعلى من الملف فقط

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_TraitDefNode)
A reference program that prints it
—

E0533 الاسم '…' معرَّف نوعاً بالفعل

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_TraitDefNode)
A reference program that prints it
—

E0535 النوع '…' غير معرَّف

Exit code
2
Source in the compiler
semantic_analyzer.py (named_type_for_impl)
A reference program that prints it
—

E0536 '…' بين قيمتين من الاتحاد الموسوم '…' يحتاج 'يحقق قابل_للمساواة'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
tests/programs/اخطاء/اتحاد_موسوم_مساواة.م

E0537 '…' بين قيمتين اختياريتين ('…') غير مدعومة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_BinaryOpNode)
A reference program that prints it
tests/programs/اخطاء/اختياري_مساواة.م

تحذير

E0259 '…' اسم وحدة قياسية؛ استُوردت القياسية لا الملف …

Exit code
2
Source in the compiler
modules.py (locate)
A reference program that prints it
—

E0260 '…' ذاكرة يدوية: التحرير المزدوج والاستعمال بعد التحرير لا يُكشفان إلا مع --debug-mem

Exit code
0
Source in the compiler
semantic_analyzer.py (analyze_builtin)
A reference program that prints it
—

E0261 '…' مذكور في 'خاتمه' تُنفَّذ بعد هذا الإرجاع: قد يرجع ما حرّرته

Exit code
0
Source in the compiler
semantic_analyzer.py (visit_ReturnNode)
A reference program that prints it
—

E0262 إسناد جديد إلى '…' بعد ذكره في 'خاتمه': الخاتمة ستعمل على القيمة الجديدة لا القديمة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_AssignNode)
A reference program that prints it
tests/programs/اخطاء/خاتمه_تحذيرات.م

E0263 الاسم '…' محجوز لدالة مدمجة

Exit code
2
Source in the compiler
semantic_analyzer.py (warn_builtin_name)
A reference program that prints it
tests/programs/اخطاء/تحذير_اسم_محجوز.م

E0264 الحجم المحدد (…) يختلف عن عدد العناصر (…)

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_ArrayNode)
A reference program that prints it
—

E0265 الدالة '…' أُعيد تعريفها

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_FuncDefNode)
A reference program that prints it
—

E0266 الدالة '…' قد تنتهي دون إرجاع قيمة

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_FuncDefNode)
A reference program that prints it
tests/programs/اخطاء/دلالي_دفعة_ا.م
A handbook example that prints it
Example
داله اشارة(س عدد64) نص:
اذا س > 0:
ارجع "موجب"
اطبع(اشارة(-1))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0266] سطر 1:1 - الدالة 'اشارة' قد تنتهي دون إرجاع قيمة   1 | داله اشارة(س عدد64) نص:     | ^~~~~  تلميح: أضف 'ارجع قيمة' في نهاية الدالة وفي كل مسار من مسارات الشروط.

Exit code: 2

In the error catalog: E0266

E0267 القيمة … مكررة في 'حالات'

Exit code
2
Source in the compiler
semantic_analyzer.py (visit_SwitchNode)
A reference program that prints it
—

E0268 المتغير '…' قد يُستخدم هنا قبل إسناد قيمة له

Exit code
0
Source in the compiler
semantic_analyzer.py (check_assigned)
A reference program that prints it
—

E0269 المفتاح … مكرر في القاموس

Exit code
2
Source in the compiler
semantic_analyzer.py (dict_literal)
A reference program that prints it
—

E0271 تعريف … '…' هنا يحجب '…' المستورد من '…'

Exit code
2
Source in the compiler
modules.py (warn_shadowed_imports)
A reference program that prints it
tests/programs/اخطاء/دلالي_رياضيات.م
A handbook example that prints it
Example
استورد رياضيات
داله جذر(س كسر64) كسر64:
ارجع س
اطبع(جذر(4.0))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
4.0
​[تحذير دلالي E0271] مثال.م:2:1 - تعريف الدالة 'جذر' هنا يحجب 'جذر' المستورد من 'رياضيات'   2 | داله جذر(س كسر64) كسر64:     | ^  تلميح: داخل هذا الملف 'جذر' هو تعريفك؛ المستورد يبقى متاحاً بالاسم المؤهَّل رياضيات.جذر

In the error catalog: E0271

E0272 نتيجة 'جديد' مهملة: الخانة لا يمكن الوصول إليها ولا تحريرها بعد هذا السطر

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_statement)
A reference program that prints it
tests/programs/اخطاء/دلالي_مؤشرات.م
A handbook example that prints it
Example
جديد(5)
اطبع("تم")
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0272] سطر 1:1 - نتيجة 'جديد' مهملة: الخانة لا يمكن الوصول إليها ولا تحريرها بعد هذا السطر   1 | جديد(5)     | ^~~~  تلميح: أسند المؤشر إلى متغير: م = جديد(...)

Exit code: 2

In the error catalog: E0272

E0273 هذا الإسناد يُنشئ متغيراً محلياً يحجب المتغير العام '…'

Exit code
0
Source in the compiler
semantic_analyzer.py (warn_shadowed_global)
A reference program that prints it
—

E0274 هذا التعبير لا يؤدي أي عمل كجملة مستقلة

Exit code
2
Source in the compiler
semantic_analyzer.py (analyze_statement)
A reference program that prints it
tests/programs/اخطاء/تحذيرات.م
A handbook example that prints it
Example
س = 1
س + 1
اطبع(س)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ دلالي E0274] سطر 2:3 - هذا التعبير لا يؤدي أي عمل كجملة مستقلة   2 | س + 1     |   ^  تلميح: استخدم اطبع(...) لعرض القيمة، أو أسندها إلى متغير.

Exit code: 2

In the error catalog: E0274

E0275 هذا الكود لن يُنفَّذ أبداً

Exit code
2
Source in the compiler
semantic_analyzer.py (_analyze_block)
A reference program that prints it
—

E0276 … '…' … الدالة المدمجة بالاسم نفسه

Exit code
0
Source in the compiler
semantic_analyzer.py (warn_builtin_name)
A reference program that prints it
—

E0400 (في دالة لم تُستدعَ) …

Exit code
0
Source in the compiler
semantic_analyzer.py (demote_unused)
A reference program that prints it
tests/programs/اخطاء/اخطاء_سوء_استعمال.م

E0452 'حاله _' لا تصلها قيمة: كل أخطاء '…' مذكورة

Exit code
0
Source in the compiler
semantic_analyzer.py (check_error_sets)
A reference program that prints it
—

E0471 لا دليل على تحرير … '…': …

Exit code
0
Source in the compiler
memory_check.py (check_body)
A reference program that prints it
—

E0472 … '…' يُحجز في كل … ولا يُحرَّر: …

Exit code
2
Source in the compiler
memory_check.py (check_body)
A reference program that prints it
tests/programs/ذاكرة/تحذيرات_الذاكرة.م

E0473 'حرر(…)' يعيد القائمة وحدها: أجزاء 'تقسيم' فيها تبقى بلا مالك

Exit code
0
Source in the compiler
memory_check.py (check_body)
A reference program that prints it
—

E0476 … '…' باسم … '…'

Exit code
2
Source in the compiler
semantic_analyzer.py (warn_type_name)
A reference program that prints it
tests/programs/فحص/اسم_نوع_متغيرا.م

E0514 … المعمَّم '…' تجاوز … نسخة

Exit code
0
Source in the compiler
semantic_analyzer.py (check_generic_budget)
A reference program that prints it
—

توليد الكود

E0277 'ارجع' خارج دالة

Exit code
2
Source in the compiler
codegen.py (_execute_statement)
A reference program that prints it
—

E0278 'تجاوز' خارج حلقة

Exit code
2
Source in the compiler
codegen.py (_execute_statement)
A reference program that prints it
—

E0279 'توقف' خارج حلقة

Exit code
2
Source in the compiler
codegen.py (_execute_statement)
A reference program that prints it
—

E0280 'جرّب' في دالة لا ترجع خطأ

Exit code
2
Source in the compiler
codegen.py (fail_current)
A reference program that prints it
—

E0281 'حرر' تتطلب مؤشراً لكن وُجد النوع '…'

Exit code
2
Source in the compiler
codegen.py (emit_free)
A reference program that prints it
—

E0282 'محتوى' تتطلب مؤشراً لكن وُجد النوع '…'

Exit code
2
Source in the compiler
codegen.py (deref_slot)
A reference program that prints it
—

E0283 'مدى' تتطلب من وسيط واحد إلى ثلاثة وسطاء

Exit code
2
Source in the compiler
codegen.py (execute_range_loop)
A reference program that prints it
—

E0284 استدعاء '…' بلا نسخة دالة من المحلل الدلالي

Exit code
2
Source in the compiler
codegen.py (call_function)
A reference program that prints it
—

E0285 الحقل '…' بلا قيمة

Exit code
2
Source in the compiler
codegen.py (build_struct)
A reference program that prints it
—

E0286 الدالة '…' تتطلب … وسيطاً لكن مُرّر …

Exit code
2
Source in the compiler
codegen.py (call_function)
A reference program that prints it
—

E0287 الدالة أو الهيكل '…' غير معرّف

Exit code
2
Source in the compiler
codegen.py (_eval_expr)
A reference program that prints it
—

E0288 الدالة من نوع 'فراغ' ولا يمكنها إرجاع قيمة

Exit code
2
Source in the compiler
codegen.py (_execute_statement)
A reference program that prints it
—

E0289 العملية '…' غير مدعومة للأنواع '…' و '…'

Exit code
2
Source in the compiler
codegen.py (apply_bin_op)
A reference program that prints it
—

E0290 العملية '…' غير مدعومة للنوع '…'

Exit code
2
Source in the compiler
codegen.py (numeric_bin_op)
A reference program that prints it
—

E0291 المتغير '…' غير معرف

Exit code
2
Source in the compiler
codegen.py (lookup_var)
A reference program that prints it
—

E0292 المتغير '…' معرف بالفعل ولا يمكن إعادة تعريفه كـ ثابت

Exit code
2
Source in the compiler
codegen.py (_execute_statement)
A reference program that prints it
—

E0293 المعامل المنطقي '…' يتطلب قيماً منطقية لكن وُجد النوع '…'

Exit code
2
Source in the compiler
codegen.py (operand)
A reference program that prints it
—

E0294 النوع '…' لا يدعم الفهرسة

Exit code
2
Source in the compiler
codegen.py (index_slot)
A reference program that prints it
—

E0295 النوع '…' لا يدعم تعيين الفهرس

Exit code
2
Source in the compiler
codegen.py (_execute_statement)
A reference program that prints it
—

E0296 النوع '…' لا يملك حقولاً

Exit code
2
Source in the compiler
codegen.py (eval_slot)
A reference program that prints it
—

E0297 الهيكل '…' لا يملك حقلاً باسم '…'

Exit code
2
Source in the compiler
codegen.py (eval_slot)
A reference program that prints it
—

E0298 الهيكل '…' يملك … حقول فقط لكن مُرّر … قيمة

Exit code
2
Source in the compiler
codegen.py (build_struct)
A reference program that prints it
—

E0299 تعذّر توليد الكود لهذه الجملة (…): …

Exit code
2
Source in the compiler
codegen.py (wrap_internal_error)
A reference program that prints it
—

E0300 حدود 'مدى' يجب أن تكون أعداداً صحيحة لكن وُجد النوع '…'

Exit code
2
Source in the compiler
codegen.py (execute_range_loop)
A reference program that prints it
—

E0301 عقدة '…' بلا نوع من المحلل الدلالي (…)

Exit code
2
Source in the compiler
codegen.py (sem)
A reference program that prints it
—

E0302 فهرس القائمة أو المصفوفة يجب أن يكون عدداً صحيحاً لا '…'

Exit code
2
Source in the compiler
codegen.py (index_slot)
A reference program that prints it
—

E0303 فهرس النص يجب أن يكون عدداً صحيحاً لا '…'

Exit code
2
Source in the compiler
codegen.py (eval_string_index)
A reference program that prints it
—

E0304 لا نسخة محلَّلة للدالة '…' بالأنواع (…)

Exit code
2
Source in the compiler
codegen.py (function_instance)
A reference program that prints it
—

E0305 لا يمكن إعادة تعريف الثابت '…'

Exit code
2
Source in the compiler
codegen.py (_execute_statement)
A reference program that prints it
—

E0306 لا يمكن التكرار على النوع '…'

Exit code
2
Source in the compiler
codegen.py (_execute_statement)
A reference program that prints it
—

E0307 لا يمكن تحويل النوع '…' إلى '…'

Exit code
2
Source in the compiler
codegen.py (coerce)
A reference program that prints it
—

E0308 لا يمكن تخزين قيمة من النوع 'فراغ' في قاموس

Exit code
2
Source in the compiler
codegen.py (dict_runtime)
A reference program that prints it
—

E0309 لا يمكن تعديل قيمة الثابت '…'

Exit code
2
Source in the compiler
codegen.py (_execute_statement)
A reference program that prints it
—

E0310 لا يمكن دمج النوع '…' مع النصوص

Exit code
2
Source in the compiler
codegen.py (text_pieces)
A reference program that prints it
—

E0311 لا يمكن طباعة قيمة من النوع 'فراغ'

Exit code
2
Source in the compiler
codegen.py (emit_print_plain)
A reference program that prints it
—

E0312 لا يوجد متغير عام باسم '…' يمكن التصريح به هنا

Exit code
2
Source in the compiler
codegen.py (_execute_statement)
A reference program that prints it
—

E0313 نتيجة هذا الاستدعاء ليست موضعاً يمكن التعديل عليه

Exit code
2
Source in the compiler
codegen.py (eval_slot)
A reference program that prints it
—

E0314 نوع التعبير '…' غير مدعوم في توليد الكود

Exit code
2
Source in the compiler
codegen.py (_eval_expr)
A reference program that prints it
—

E0315 نوع المفتاح '…' غير مدعوم في القواميس

Exit code
2
Source in the compiler
codegen.py (dict_runtime)
A reference program that prints it
—

E0316 هذا التعبير ليس موضعاً يمكن التعديل عليه

Exit code
2
Source in the compiler
codegen.py (eval_slot)
A reference program that prints it
—

E0317 يجب أن تُرجع الدالة قيمة من النوع '…'

Exit code
2
Source in the compiler
codegen.py (_execute_statement)
A reference program that prints it
—

E0318 … يجب أن يكون قيمة منطقية لكنه من النوع '…'

Exit code
2
Source in the compiler
codegen.py (eval_condition)
A reference program that prints it
—

E0416 الرمز '…' غير موجود في … (تصريح الدالة الخارجية '…')

Exit code
2
Source in the compiler
codegen.py (check_extern_symbols)
A reference program that prints it
tests/programs/خارجي/رمز_مفقود.م
A handbook example that prints it
Example
خارجي "m" داله غريبة(س كسر64) كسر64 باسم "no_such_function_xyz"
اطبع(غريبة(1.0))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
​[خطأ توليد الكود E0416] سطر 1:1 - الرمز 'no_such_function_xyz' غير موجود في المكتبة 'm' ولا في مكتبة C (تصريح الدالة الخارجية 'غريبة')   1 | خارجي "m" داله غريبة(س كسر64) كسر64 باسم "no_such_function_xyz"     | ^~~~~  تلميح: تأكد من اسم الدالة في C بعد 'باسم'، ومن اسم المكتبة بعد 'خارجي'.

Exit code: 2

In the error catalog: E0416

E0417 المكتبة '…' المذكورة في تصريح الدالة الخارجية '…' غير موجودة أو تعذّر تحميلها (…)

Exit code
2
Source in the compiler
codegen.py (check_extern_symbols)
A reference program that prints it
tests/programs/خارجي/مكتبة_مفقودة.م

تشغيل

E0319 'نص_سي' على نص قيمته لاشيء (هل حُرّر بـ حرر؟)

Exit code
3
Source in the compiler
lowlevel.py (emit)
A reference program that prints it
—

E0320 الشريحة أطول من كتلتها: طولها %lld عنصراً والكتلة %lld بايتاً

Exit code
3
Source in the compiler
lowlevel.py (emit)
A reference program that prints it
—

E0321 الفهرس %lld خارج الحدود (الحجم %lld)

Exit code
3
Source in the compiler
collection_builtins.py (emit)
A reference program that prints it
tests/programs/اخطاء/تشغيل_فهرس_خارج_الحدود.م
Handbook examples that print it
Example
ق = [1, 2, 3]
اطبع(ق[3])
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0321] سطر 2:7 - الفهرس 3 خارج الحدود (الحجم 3)  اطبع(ق[3])

Exit code: 3

In the error catalog: E0321

Example
ق = [1, 2]
اطبع(ق[5])
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0321] سطر 2:7 - الفهرس 5 خارج الحدود (الحجم 2)  اطبع(ق[5])

Exit code: 3

In the error catalog: E0321

E0322 الفهرس %lld خارج الكتلة (عدد عناصرها %lld)

Exit code
3
Source in the compiler
codegen.py (low_level_slot)
A reference program that prints it
tests/programs/كشف_الذاكرة/كتلة_فهرس_خارجها.م

E0323 الفهرس %lld خارج حدود الشريحة (طولها %lld)

Exit code
3
Source in the compiler
codegen.py (low_level_slot)
A reference program that prints it
tests/programs/اخطاء/تشغيل_شريحة_حدود.م

E0324 الفهرس %lld خارج حدود القائمة (طولها %lld)

Exit code
3
Source in the compiler
collection_builtins.py (_emit_list_remove)
A reference program that prints it
tests/programs/اخطاء/احذف_خارج_القائمة.م

E0325 الفهرس %lld خارج حدود النص (الطول %lld)

Exit code
3
Source in the compiler
codegen.py (eval_string_index)
A reference program that prints it
tests/programs/اخطاء/تشغيل_فهرس_نص.م

E0326 القطعة من %lld إلى %lld خارج الشريحة (طولها %lld)

Exit code
3
Source in the compiler
lowlevel.py (emit)
A reference program that prints it
—

E0327 القيمة %lld التي أرجعتها الدالة '…' خارج مدى '…' الذي تنتظره C

Exit code
3
Source in the compiler
codegen.py (c_callback)
A reference program that prints it
—

E0328 القيمة %lld خارج مدى '…' (من … إلى …)

Exit code
3
Source in the compiler
codegen.py (numeric_cast)
A reference program that prints it
tests/programs/اخطاء/استدعاء_عكسي_مدى.م

E0329 القيمة %lld خارج مدى النوع '…' للمعامل '…' في الدالة الخارجية '…'

Exit code
3
Source in the compiler
codegen.py (call_extern)
A reference program that prints it
—

E0332 القيمة أكبر من مدى '…'

Exit code
3
Source in the compiler
codegen.py (numeric_cast)
A reference program that prints it
—

E0334 المتغير '…' استُخدم قبل إسناد قيمة له

Exit code
3
Source in the compiler
codegen.py (_eval_expr)
A reference program that prints it
tests/programs/امان/غير_مهيأ_قائمة.م

E0335 المخصص أُعيد بـ 'اعد' من قبل

Exit code
3
Source in the compiler
allocators.py (emit)
A reference program that prints it
tests/programs/اخطاء/تشغيل_مخصص_اعد_مرتين.م

E0336 المفتاح %lld غير موجود في القاموس

Exit code
3
Source in the compiler
codegen.py (emit_missing_key_error)
A reference program that prints it
—

E0337 المفتاح '%s' غير موجود في القاموس

Exit code
3
Source in the compiler
codegen.py (emit_missing_key_error)
A reference program that prints it
tests/programs/اخطاء/تشغيل_حذف_مفتاح_غير_موجود.م
Handbook examples that print it
Example
ق = {"ا": 1}
اطبع(ق["ب"])
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0337] سطر 2:7 - المفتاح 'ب' غير موجود في القاموس  اطبع(ق["ب"])

Exit code: 3

In the error catalog: E0337

Example
ع = {"سارة": 30}
اطبع(ع["علي"])
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0337] سطر 2:7 - المفتاح 'علي' غير موجود في القاموس  اطبع(ع["علي"])

Exit code: 3

In the error catalog: E0337

E0338 النظام والافتراضي لا يُعادان: 'اعد' للساحة والكاشف

Exit code
3
Source in the compiler
allocators.py (emit)
A reference program that prints it
tests/programs/اخطاء/تشغيل_اعد_النظام.م

E0339 انتهت الدالة '…' دون إرجاع قيمة من النوع '…' (أضف 'ارجع' في كل المسارات)

Exit code
3
Source in the compiler
codegen.py (function_instance)
A reference program that prints it
—

E0340 بنية دائرية لا تُنسخ (حاوية تحوي نفسها، أو تداخل أعمق من … مستوى)

Exit code
3
Source in the compiler
codegen.py (emit_copy_cycle_error)
A reference program that prints it
tests/programs/انواع/هياكل_ذاتية_الاشارة.م

E0341 تجاوز النوع '…' في العملية '…'

Exit code
3
Source in the compiler
codegen.py (int_arith)
A reference program that prints it
tests/programs/دقة/تجاوز_جمع.م
A handbook example that prints it
Example
س = 9223372036854775807
اطبع(س + 1)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0341] سطر 2:8 - تجاوز النوع 'عدد64' في العملية '+'  اطبع(س + 1)

Exit code: 3

In the error catalog: E0341

E0342 تجاوز عمق العودية: امتلأ مكدس البرنامج (هل للدالة حالة توقف؟)

Exit code
3
Source in the compiler
target_os.py
A reference program that prints it
tests/programs/امان/عودية_بلا_نهاية.م

E0343 تحرير بالمخصص الافتراضي لخانة حُجزت من مخصص آخر: حرّرها به، حرر(المؤشر, المخصص)

Exit code
3
Source in the compiler
codegen.py (emit_free)
A reference program that prints it
tests/programs/كشف_الذاكرة/مخصصات_مالك_اخر.م

E0344 تحرير جزء من كتلة: حرّر الشريحة التي أرجعها احجز كاملة

Exit code
3
Source in the compiler
codegen.py (emit_free)
A reference program that prints it
tests/programs/اخطاء/تشغيل_تحرير_جزء_من_كتلة.م

E0345 تحرير جزء من نص: حرّر النص الذي يملأ مخزنه (لا جزءاً منه ولا نصاً أُلحق بعده)، أو أنه حُرّر من قبل عبر اسم آخر

Exit code
3
Source in the compiler
codegen.py (emit_free_str)
A reference program that prints it
tests/programs/اخطاء/تشغيل_تحرير_جزء_من_نص.م

E0346 تحرير حاوية بمخصص غير الذي حجزها

Exit code
3
Source in the compiler
codegen.py (emit_free_container)
A reference program that prints it
tests/programs/اخطاء/تشغيل_تحرير_حاوية_بمخصص_اخر.م

E0347 تحرير حاوية قيمتها لاشيء (هل حُرّرت من قبل؟)

Exit code
3
Source in the compiler
codegen.py (emit_free_container)
A reference program that prints it
tests/programs/اخطاء/تشغيل_تحرير_حاوية_مرتين.م

E0348 تحرير شريحة لا تملك كتلة (فارغة، أو حُرّرت من قبل، أو من شريحة_خام)

Exit code
3
Source in the compiler
codegen.py (emit_free)
A reference program that prints it
—

E0349 تحرير مؤشر قيمته لاشيء (هل حُرّر من قبل؟)

Exit code
3
Source in the compiler
codegen.py (emit_free)
A reference program that prints it
tests/programs/كشف_الذاكرة/فك_فارغ.م
Handbook examples that print it
Example
م = جديد(1)
حرر(م)
حرر(م)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0349] سطر 3:1 - تحرير مؤشر قيمته لاشيء (هل حُرّر من قبل؟)  حرر(م)

Exit code: 3

In the error catalog: E0349

Example
م = جديد(1)
حرر(م)
حرر(م)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0349] سطر 3:1 - تحرير مؤشر قيمته لاشيء (هل حُرّر من قبل؟)  حرر(م)

Exit code: 3

In the error catalog: E0349

E0350 تحرير مزدوج: الحاوية حُرّرت من قبل (عبر اسم آخر يحملها)

Exit code
3
Source in the compiler
codegen.py (emit_free_container)
A reference program that prints it
tests/programs/كشف_الذاكرة/حاوية_تحرير_مزدوج.م

E0351 تحرير نص لا يملك مخزناً (نص حرفيّ، أو لاشيء، أو حُرّر من قبل)

Exit code
3
Source in the compiler
codegen.py (emit_free_str)
A reference program that prints it
—

E0352 حوّل: حجم الشريحة %lld بايتاً لا ينقسم على حجم العنصر الجديد %lld

Exit code
3
Source in the compiler
lowlevel.py (emit)
A reference program that prints it
—

E0353 خطأ لم يُعالَج: %s

Exit code
3
Source in the compiler
codegen.py (fail_current)
A reference program that prints it
tests/programs/اخطاء/تتبع_الخطأ.م
A handbook example that prints it
Example
ن = جرّب حلل("ليس عدداً", عدد64)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0353] سطر 1:5 - خطأ لم يُعالَج: صيغة_خاطئة: «ليس عدداً» ليس عدداً  نشأ في: سطر 1  ن = جرّب حلل("ليس عدداً", عدد64)

Exit code: 3

In the error catalog: E0353

E0354 خطوة 'مدى' لا يمكن أن تكون صفراً

Exit code
3
Source in the compiler
codegen.py (execute_range_loop)
A reference program that prints it
tests/programs/اخطاء/تشغيل_خطوة_صفر.م

E0355 رياضيات.جذر: لا جذر تربيعي لعدد سالب

Exit code
3
Source in the compiler
stdlib/رياضيات.م
A reference program that prints it
tests/programs/مكتبة/رياضيات_جذر_سالب.م

E0356 رياضيات.جيب_تمام_عكسي: القيمة يجب أن تكون بين -1 و 1

Exit code
3
Source in the compiler
stdlib/رياضيات.م
A reference program that prints it
—

E0357 رياضيات.جيب_عكسي: القيمة يجب أن تكون بين -1 و 1

Exit code
3
Source in the compiler
stdlib/رياضيات.م
A reference program that prints it
tests/programs/مكتبة/رياضيات_جيب_عكسي_خارج.م

E0358 رياضيات.قرب_الى: عدد الخانات يجب أن يكون بين 0 و 15

Exit code
3
Source in the compiler
stdlib/رياضيات.م
A reference program that prints it
tests/programs/مكتبة/رياضيات_خانات_خاطئة.م

E0359 رياضيات.لوغاريتم10: لا لوغاريتم لعدد غير موجب

Exit code
3
Source in the compiler
stdlib/رياضيات.م
A reference program that prints it
tests/programs/مكتبة/رياضيات_لوغاريتم_صفر.م

E0360 رياضيات.لوغاريتم2: لا لوغاريتم لعدد غير موجب

Exit code
3
Source in the compiler
stdlib/رياضيات.م
A reference program that prints it
—

E0361 رياضيات.لوغاريتم: لا لوغاريتم لعدد غير موجب

Exit code
3
Source in the compiler
stdlib/رياضيات.م
A reference program that prints it
—

E0362 رياضيات.نسق: عدد الخانات يجب أن يكون بين 0 و100

Exit code
3
Source in the compiler
stdlib/رياضيات.م
A reference program that prints it
—

E0363 رياضيات.نسق_عدد: العرض يجب أن يكون بين 0 و100

Exit code
3
Source in the compiler
stdlib/رياضيات.م
A reference program that prints it
—

E0364 شريحة_خام: طول سالب، أو مؤشر لاشيء بطول %lld

Exit code
3
Source in the compiler
lowlevel.py (emit)
A reference program that prints it
—

E0365 طول الشريحة %lld سالب

Exit code
3
Source in the compiler
lowlevel.py (emit)
A reference program that prints it
—

E0366 عدد عناصر الكتلة %lld غير صالح (سالب أو أكبر من الممكن)

Exit code
3
Source in the compiler
lowlevel.py (allocate_block)
A reference program that prints it
—

E0367 عشوائي.صحيح: الحد الأدنى أكبر من الحد الأعلى

Exit code
3
Source in the compiler
stdlib/عشوائي.م
A reference program that prints it
—

E0368 فك مؤشر قيمته لاشيء (تحقق منه أولاً: المؤشر != لاشيء)

Exit code
3
Source in the compiler
codegen.py (require_pointer)
A reference program that prints it
tests/programs/مؤشرات/استعمال_بعد_حرر.م
A handbook example that prints it
Example
م مؤشر[عدد64] = لاشيء
اطبع(محتوى(م))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0368] سطر 2:6 - فك مؤشر قيمته لاشيء (تحقق منه أولاً: المؤشر != لاشيء)  اطبع(محتوى(م))

Exit code: 3

In the error catalog: E0368

E0369 لا يمكن استخدام نص قيمته لاشيء هنا (هل حُرّر بـ حرر؟)

Exit code
3
Source in the compiler
collection_builtins.py (_text)
A reference program that prints it
—
A handbook example that prints it
Example
ن = "ا" + نص(1)
حرر(ن)
اطبع(طول(ن))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0369] سطر 3:10 - لا يمكن استخدام نص قيمته لاشيء هنا (هل حُرّر بـ حرر؟)  اطبع(طول(ن))

Exit code: 3

In the error catalog: E0369

E0370 لا يمكن تحويل الكسر %s إلى عدد: خارج مدى الأعداد الصحيحة أو ليس عدداً

Exit code
3
Source in the compiler
builtin_funcs.py (emit)
A reference program that prints it
tests/programs/دقة/عدد_من_غير_عددي.م
A handbook example that prints it
Example
استورد رياضيات
س = 1.0
لكل ع في مدى(0, 30):
س = س * 10000000000.0
اطبع(رياضيات.بتر(س))
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0370] <stdlib>/رياضيات.م:86:19 - لا يمكن تحويل الكسر 9.999999999999998e+299 إلى عدد: خارج مدى الأعداد الصحيحة أو ليس عدداً      ارجع _بتر_كسر(س)  موضع الاستدعاء في برنامجك: مثال.م:5:14  اطبع(رياضيات.بتر(س))

Exit code: 3

In the error catalog: E0370

E0371 مقدار الإزاحة %lld خارج المدى من 0 إلى …

Exit code
3
Source in the compiler
codegen.py (numeric_bin_op)
A reference program that prints it
tests/programs/اخطاء/تشغيل_ازاحة_خارج_المدى.م

E0374 موضع الإدراج %lld خارج القائمة (من 0 إلى %lld)

Exit code
3
Source in the compiler
collection_builtins.py (emit)
A reference program that prints it
—

E0375 ناتج '…' خارج مدى الأعداد الصحيحة: أصغر عدد صحيح مع المقسوم عليه -1

Exit code
3
Source in the compiler
codegen.py (numeric_bin_op)
A reference program that prints it
tests/programs/امان/باقي_اصغر_عدد.م

E0376 نظام.التاريخ: تعذّر تحويل الوقت إلى التاريخ المحلي

Exit code
3
Source in the compiler
stdlib/نظام.م
A reference program that prints it
—

E0377 نظام.انهِ: رمز الخروج يجب أن يكون بين 0 و255

Exit code
3
Source in the compiler
stdlib/نظام.م
A reference program that prints it
—

E0378 نظام.نم: المدة بالمللي ثانية لا تكون سالبة

Exit code
3
Source in the compiler
stdlib/نظام.م
A reference program that prints it
—

E0379 نفدت الذاكرة: تعذّر إنشاء المخصص

Exit code
3
Source in the compiler
allocators.py (create)
A reference program that prints it
—

E0380 نفدت الذاكرة: تعذّر حجز %lld بايتاً من المخصص

Exit code
3
Source in the compiler
allocators.py (allocate)
A reference program that prints it
—

E0381 نفدت الذاكرة: تعذّر حجز ذاكرة حاوية (أو أن مخصصها ساحة أُعيدت بـ 'اعد')

Exit code
3
Source in the compiler
runtime_lib.py (_out_of_memory)
A reference program that prints it
—

E0382 نفدت الذاكرة: تعذّر حجز كتلة من %lld عنصراً

Exit code
3
Source in the compiler
lowlevel.py (_allocate)
A reference program that prints it
tests/programs/اخطاء/تشغيل_مخزن_ثابت_ممتلئ.م

E0383 … من مخصص أُعيد بـ 'اعد'

Exit code
3
Source in the compiler
allocators.py (require_live)
A reference program that prints it
tests/programs/اخطاء/تشغيل_مخصص_بعد_اعد.م

E0401 استعمال شريحة بعد تحرير كتلتها: …

Exit code
3
Source in the compiler
codegen.py (check_slice_owner)
A reference program that prints it
tests/programs/كشف_الذاكرة/شريحة_بعد_تحرير.م

E0402 استعمال مؤشر بعد تحريره: …

Exit code
3
Source in the compiler
codegen.py (require_pointer)
A reference program that prints it
tests/programs/كشف_الذاكرة/استعمال_بعد_تحرير_قراءة.م

E0403 القسمة على صفر

Exit code
3
Source in the compiler
codegen.py (numeric_bin_op)
A reference program that prints it
tests/programs/اخطاء/تشغيل_قسمة_على_صفر.م
A handbook example that prints it
Example
ب = 0
اطبع(10 / ب)
Output recorded in the reference handbookmeem برنامج.م · 0.17.1
[خطأ تشغيل E0403] سطر 2:9 - القسمة على صفر  اطبع(10 / ب)

Exit code: 3

In the error catalog: E0403

E0404 باقي القسمة على صفر

Exit code
3
Source in the compiler
codegen.py (numeric_bin_op)
A reference program that prints it
tests/programs/اخطاء/تشغيل_باقي_على_صفر.م

E0405 تحرير مزدوج: …

Exit code
3
Source in the compiler
codegen.py (emit_free)
A reference program that prints it
tests/programs/كشف_الذاكرة/تحرير_مزدوج.م

E0418 النص المطلوب استبداله في 'استبدال' لا يمكن أن يكون فارغاً

Exit code
3
Source in the compiler
builtin_funcs.py (emit)
A reference program that prints it
tests/programs/اخطاء/تشغيل_استبدال_فارغ.م

E0419 تحرير بمخصص أُعيد بـ 'اعد'

Exit code
3
Source in the compiler
allocators.py (free)
A reference program that prints it
—

E0420 تحرير بمخصص غير الذي حجز الخانة

Exit code
3
Source in the compiler
allocators.py (free)
A reference program that prints it
tests/programs/اخطاء/تشغيل_مخصص_غير_الحاجز.م

E0421 تحرير مزدوج: الخانة حُرّرت من قبل

Exit code
3
Source in the compiler
allocators.py (free)
A reference program that prints it
tests/programs/اخطاء/تشغيل_مخصص_تحرير_مزدوج.م

E0422 فاصل 'تقسيم' لا يمكن أن يكون نصاً فارغاً

Exit code
3
Source in the compiler
builtin_funcs.py (emit)
A reference program that prints it
tests/programs/اخطاء/تشغيل_تقسيم_فاصل_فارغ.م

E0427 نفدت الذاكرة: تعذّر حجز ذاكرة نص (أو أن مخصصه ساحة أُعيدت بـ 'اعد')

Exit code
3
Source in the compiler
runtime_lib.py (str_buffer)
A reference program that prints it
—

E0428 الحاوية '…' استُعملت بعد تحريرها (قيمتها لاشيء)

Exit code
3
Source in the compiler
codegen.py (check_freed_container)
A reference program that prints it
tests/programs/اخطاء/حاوية_بعد_تحرير.م

E0429 استعمال القائمة أو القاموس بعد التحرير (…)

Exit code
3
Source in the compiler
codegen.py (check_freed_container)
A reference program that prints it
tests/programs/ذاكرة/كاشف_ساحة_بعد_اعد.م

E0430 استعمال النص بعد التحرير (…)

Exit code
3
Source in the compiler
codegen.py (check_str_live)
A reference program that prints it
tests/programs/ذاكرة/ازاله_اثناء_التمرير.م

E0431 تحرير مزدوج: النص حُرّر من قبل (عبر اسم آخر يحمله)

Exit code
3
Source in the compiler
codegen.py (emit_free_str)
A reference program that prints it
tests/programs/ذاكرة/كاشف_تحرير_نص_مرتين.م

E0443 الدالة الخارجية '…' أرجعت NULL، والنوع 'نص' لا يكون لاشيء: صرّح بإرجاعها 'نص؟'

Exit code
3
Source in the compiler
codegen.py (call_extern)
A reference program that prints it
—

E0462 القيمة %llu خارج مدى '…' (من … إلى …)

Exit code
3
Source in the compiler
codegen.py (numeric_cast)
A reference program that prints it
tests/programs/اخطاء/تشغيل_طبيعي64_لا_يتسع.م

E0492 الموضع %lld في منتصف حرف: القطع بالبايت يكون على حدّ حرف UTF-8

Exit code
3
Source in the compiler
collection_builtins.py (_utf8_boundary_check)
A reference program that prints it
tests/programs/اخطاء/جزء_بايت_منتصف_حرف.م

E0494 ملفات: الملف استُعمل بعد إغلاقه

Exit code
3
Source in the compiler
stdlib/ملفات.م
A reference program that prints it
tests/programs/اخطاء/ملف_بعد_اغلاقه.م

E0534 مفتاح من النوع '…' غير موجود في القاموس

Exit code
3
Source in the compiler
codegen.py (emit_missing_key_error)
A reference program that prints it
—